Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"a":1,"b":2,"threshold":10},{"a":20,"b":2,"threshold":10}]
Query
db.collection.find({$expr:{$gt:[{$multiply:["$a","$b"]},"$threshold"]}})
Result