Skip to content

Commit e128802

Browse files
committed
NH feedback
1 parent 79611ef commit e128802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/includes/databases-collections.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fun main() {
2121

2222
// Accesses the "test_collection" collection
2323
// start-access-collection
24-
val collection = db.getCollection<Document>("test_collection")
24+
val collection = db.getCollection("test_collection")
2525
// end-access-collection
2626

2727
// Explicitly creates the "example_collection" collection
@@ -42,6 +42,6 @@ fun main() {
4242

4343
// Deletes the "test_collection" collection
4444
// start-drop-collection
45-
db.getCollection<Document>("test_collection").drop()
45+
db.getCollection("test_collection").drop()
4646
// end-drop-collection
4747
}

0 commit comments

Comments
 (0)