User model have collection of host and collection of accounts.
Host model have collection of accounts and collection of users.
Account have collection of hosts and collection of users.
How I can found all User hosts, with accounts?
{
id: 1,
name: 'User',
hosts: [{
id: 1,
accounts: [
{
id:1
},
{
id:2
}]
},
{
id: 2
accounts: [
{
id:13
},
{
id:4
}]
}
]
}