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 93641af commit 9fdbaa4Copy full SHA for 9fdbaa4
source/includes/fundamentals/code-snippets/Transaction.java
@@ -16,7 +16,7 @@ public static void main(String[] args) {
16
try (MongoClient mongoClient = MongoClients.create(connectionString)) {
17
MongoDatabase database = mongoClient.getDatabase("transaction_db");
18
MongoCollection<Document> collection = database.getCollection("books");
19
- // start transaction
+ // start transaction
20
// Set transaction options
21
TransactionOptions txnOptions = TransactionOptions.builder()
22
.writeConcern(WriteConcern.MAJORITY)
0 commit comments