The following aggregation operation uses $map to truncate each element in the distances array to its integer. db.deliveries.aggregate( [. {. $project: ...
確定! 回上一頁