MongoDB Temukan dokumen di mana dua bidang sama

db.myCollection.find( { $where: "this.a1.a != this.a2.a" } )
Bored Bison