File tree Expand file tree Collapse file tree 6 files changed +8
-5
lines changed Expand file tree Collapse file tree 6 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11// Runs bulk write operations on a collection by using the Java driver
22
3- package usage . examples ;
3+ package org . example ;
44
55import java .util .Arrays ;
66
Original file line number Diff line number Diff line change 11// Deletes a document from a collection by using the Java driver
22
3- package usage . examples ;
3+ package org . example ;
44
55import static com .mongodb .client .model .Filters .eq ;
66
Original file line number Diff line number Diff line change 11// Retrieves documents that match a query filter by using the Java driver
2+
3+ package org .example ;
4+
25import static com .mongodb .client .model .Filters .lt ;
36
47import org .bson .Document ;
Original file line number Diff line number Diff line change 11// Inserts a sample document describing a movie by using the Java driver
22
3- package usage . examples ;
3+ package org . example ;
44
55import java .util .Arrays ;
66
Original file line number Diff line number Diff line change 11// Replaces the first document that matches a filter by using the Java driver
22
3- package usage . examples ;
3+ package org . example ;
44
55import static com .mongodb .client .model .Filters .eq ;
66
Original file line number Diff line number Diff line change 11// Updates the first document that matches a query filter by using the Java driver
22
3- package usage . examples ;
3+ package org . example ;
44
55import org .bson .Document ;
66import org .bson .conversions .Bson ;
You can’t perform that action at this time.
0 commit comments