Skip to content

Commit 97406a7

Browse files
terakilobytevincentkam
authored andcommitted
CSHARP-2704: Correct GridFS documentation typo
1 parent a66e79f commit 97406a7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Docs/reference/content/reference/gridfs/gettingstarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ var bucket = new GridFSBucket(database, new GridFSBucketOptions
4545

4646
The [`BucketName`]({{< apiref "P_MongoDB_Driver_GridFS_GridFSBucketOptions_BucketName" >}}) value is the root part of the files and chunks collection names, so in this example the two collections would be named "videos.files" and "videos.chunks" instead of "fs.files" and "fs.chunks".
4747

48-
The [`ChunkSizeBytes`]({{< apiref "P_MongoDB_Driver_GridFS_GridFSBucketOptions_ChunkSizeBytes" >}}) value defines the size of each chunk, and in this example we are overriding the default value of 261120 (255MB).
48+
The [`ChunkSizeBytes`]({{< apiref "P_MongoDB_Driver_GridFS_GridFSBucketOptions_ChunkSizeBytes" >}}) value defines the size of each chunk, and in this example we are overriding the default value of 261120 (255kB).
4949

5050
The [`WriteConcern`]({{< apiref "P_MongoDB_Driver_GridFS_GridFSBucketOptions_WriteConcern" >}}) is used when uploading files to GridFS, and the [`ReadPreference`]({{< apiref "P_MongoDB_Driver_GridFS_GridFSBucketOptions_ReadPreference" >}}) is used when downloading files from GridFS.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Please see our [guidelines](CONTRIBUTING.md) for contributing to the driver.
129129
* John Murphy https://github.com/jsmurphy
130130
* Alexander Nagy [email protected]
131131
* Sridhar Nanjundeswaran https://github.com/sridharn
132+
* Nathan https://github.com/terakilobyte
132133
* Rich Quackenbush [email protected]
133134
* Carl Reinke https://github.com/mindless2112
134135
* Gian Maria Ricci https://github.com/alkampfergit

0 commit comments

Comments
 (0)