We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 280ee4f commit 949b963Copy full SHA for 949b963
driver-core/src/main/com/mongodb/client/model/expressions/Expressions.java
@@ -177,14 +177,6 @@ public static <R extends DocumentExpression> R current() {
177
.assertImplementsAllExpressions();
178
}
179
180
- /**
181
- * Returns the "current" value as a {@linkplain MapExpression map} value.
182
- * The "current" value is the top-level document currently being processed
183
- * in the aggregation pipeline stage.
184
- *
185
- * @return the resulting value
186
- * @param <R> the type of the resulting value
187
- */
188
public static <R extends Expression> MapExpression<R> currentAsMap() {
189
return new MqlExpression<>((cr) -> new AstPlaceholder(new BsonString("$$CURRENT")))
190
0 commit comments