I believe it should work. However can you try this
$and: [
{
student:{
course:{
$eq: 'Maths'
},
}
},
{
student:{
id:{
$eq: 'Physics'
},
}
},
]
I believe it should work. However can you try this
$and: [
{
student:{
course:{
$eq: 'Maths'
},
}
},
{
student:{
id:{
$eq: 'Physics'
},
}
},
]