have 2 models with many to many assoc(MongoDB). How I can find in assoc. EXAMPLE USER MODEL
name: {
type:'string'
},
groups:{
collection:'Group'
via:'users'
}
GROUP MODEL
name:{
type:'string'
},
users:{
collection:'User',
via:'groups'
}
how I can find all users in all Groups when name=Jack ?