Simple, self-explanatory code snippets.
db.collection.aggregate([
{$match: {
$expr: { $ne: [ {$isArray: "$field_to_check"}, true] }
}}
]);
No comments:
Post a Comment