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 949b963 commit eb943bbCopy full SHA for eb943bb
driver-core/src/main/com/mongodb/client/model/expressions/Expressions.java
@@ -172,7 +172,7 @@ public static ArrayExpression<StringExpression> ofStringArray(final String... ar
172
return new MqlExpression<>((cr) -> new AstPlaceholder(new BsonArray(result)));
173
}
174
175
- public static <R extends DocumentExpression> R current() {
+ public static DocumentExpression current() {
176
return new MqlExpression<>((cr) -> new AstPlaceholder(new BsonString("$$CURRENT")))
177
.assertImplementsAllExpressions();
178
0 commit comments