Skip to content

Commit d8fe55f

Browse files
committed
edits
1 parent 7e86fa3 commit d8fe55f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ toc_landing_pages = [
1818
"/reference/class/MongoDBModelDatabaseInfo",
1919
"/reference/class/MongoDBModelIndexInfo",
2020
"/get-started",
21+
"/write",
2122
]
2223

2324
[substitutions]

source/includes/usage-examples/write-code-examples.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,5 @@
100100

101101
// Creates a GridFS bucket or references an existing one
102102
// start-gridfs
103-
$bucket = $db->selectGridFSBucket();
103+
$bucket = $client-><database name>->selectGridFSBucket();
104104
// end-gridfs

0 commit comments

Comments
 (0)