Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{userId:1234,name:"Mike",AMOUNT:"43543.2"},{userId:1235,name:"John",AMOUNT:"433.2"}]
Query
db.collection.aggregate([{$match:{$expr:{$gt:[{$toDouble:"$AMOUNT"},10000]}}}])
Result