Skip to content

Commit 74f3144

Browse files
Including books collection
1 parent 3e771dd commit 74f3144

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/103_aggregation_pipeline_lookup.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"import org.bson.Document;\n",
5656
"\n",
5757
"// Configure SLF4J Simple Logger to suppress MongoDB driver logs in the notebook output.\n",
58-
"\n",
5958
"System.setProperty(\"org.slf4j.simpleLogger.defaultLogLevel\", \"off\");\n",
6059
"System.setProperty(\"org.slf4j.simpleLogger.log.org.mongodb.driver\", \"off\");\n",
6160
"\n",
@@ -72,7 +71,8 @@
7271
"}\n",
7372
"\n",
7473
"MongoDatabase library = mongoClient.getDatabase(\"library\");\n",
75-
"MongoCollection<Document> authors = library.getCollection(\"authors\");"
74+
"MongoCollection<Document> authors = library.getCollection(\"authors\");\n",
75+
"MongoCollection<Document> books = library.getCollection(\"books\");"
7676
]
7777
},
7878
{

0 commit comments

Comments
 (0)