File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
docs/reference/content/builders Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pipeline operators]({{< docsref "reference/operator/aggregation/" >}}). Each me
17
17
For brevity, you may choose to import the methods of the ` Aggregates ` class statically:
18
18
19
19
``` java
20
- import com.mongodb.client.model.Aggregates.* ;
20
+ import static com.mongodb.client.model.Aggregates.* ;
21
21
```
22
22
23
23
All the examples below assume this static import.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ any method that expects a query filter.
16
16
For brevity, you may choose to import the methods of the ` Filters ` class statically:
17
17
18
18
``` java
19
- import com.mongodb.client.model.Filters.* ;
19
+ import static com.mongodb.client.model.Filters.* ;
20
20
```
21
21
22
22
All the examples below assume this static import.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ methods.
16
16
For brevity, you may choose to import the methods of the ` Indexes ` class statically:
17
17
18
18
``` java
19
- import com.mongodb.client.model.Indexes.* ;
19
+ import static com.mongodb.client.model.Indexes.* ;
20
20
```
21
21
22
22
All the examples below assume this static import.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ any method that expects sort criteria.
16
16
For brevity, you may choose to import the methods of the ` Sorts ` class statically:
17
17
18
18
``` java
19
- import com.mongodb.client.model.Sorts.* ;
19
+ import static com.mongodb.client.model.Sorts.* ;
20
20
```
21
21
22
22
All the examples below assume this static import.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ any method that expects an update.
16
16
For brevity, you may choose to import the methods of the ` Updates ` class statically:
17
17
18
18
``` java
19
- import com.mongodb.client.model.Updates.* ;
19
+ import static com.mongodb.client.model.Updates.* ;
20
20
```
21
21
22
22
All the examples below assume this static import.
You can’t perform that action at this time.
0 commit comments