summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_expr.h
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-18 17:02:53 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-18 17:02:53 -0300
commit959575a5ca598bf5f37fb5cebe7ed1d80d3d71f7 (patch)
treeacc8d60aedb12b70048e676e8a7349deb0010db8 /src/mongo/db/matcher/expression_expr.h
parent76588293975fc059cf076779e4283e6ffaf8afff (diff)
New upstream version 6.0.20upstream
Diffstat (limited to 'src/mongo/db/matcher/expression_expr.h')
-rw-r--r--src/mongo/db/matcher/expression_expr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_expr.h b/src/mongo/db/matcher/expression_expr.h
index 281fdd3afd6..b3f670e4597 100644
--- a/src/mongo/db/matcher/expression_expr.h
+++ b/src/mongo/db/matcher/expression_expr.h
@@ -72,10 +72,12 @@ public:
void debugString(StringBuilder& debug, int indentationLevel = 0) const final {
_debugAddSpace(debug, indentationLevel);
- debug << "$expr " << _expression->serialize(false).toString();
+ debug << "$expr " << _expression->serialize().toString();
}
- void serialize(BSONObjBuilder* out, bool includePath) const final;
+ void serialize(BSONObjBuilder* out,
+ const SerializationOptions& opts = {},
+ bool includePath = true) const final;
bool equivalent(const MatchExpression* other) const final;