2017-02-16 1718 views

回答

0

是的,這是可能的。考慮你正在嘗試獲取a大於b的文檔。下面的代碼是這樣做的。

db.collectionName.find({$where: "this.a > this.b"}) 
相關問題