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 05d983e commit 5096761Copy full SHA for 5096761
driver-core/src/main/com/mongodb/client/model/Projections.java
@@ -187,7 +187,7 @@ public static Bson fields(final Bson... projections) {
187
* @return the combined projection
188
*/
189
public static Bson fields(final List<? extends Bson> projections) {
190
- notNull("sorts", projections);
+ notNull("projections", projections);
191
return new FieldsProjection(projections);
192
}
193
0 commit comments