本当に
db.table.aggregate(
[
{ $project: { ID: 1, name : 1, total: { $add: [ "$Sum", "$Delta" ] } } },
{ $match : { total : { $gte: 1000 }}}
]
)
本当に
db.table.aggregate(
[
{ $project: { ID: 1, name : 1, total: { $add: [ "$Sum", "$Delta" ] } } },
{ $match : { total : { $gte: 1000 }}}
]
)