Simple, self-explanatory code snippets.
db.COLLECTION.aggregate([
{$match: {
$expr: {
$eq: ["$field1", "$field2.subfield3"]
}
}}
]);
No comments:
Post a Comment