Skip to content

Commit

Permalink
Merge pull request #5 from travishorn/patch-1
Browse files Browse the repository at this point in the history
Fix typos in GridStore docs.
  • Loading branch information
christkv committed Sep 8, 2016
2 parents 64d6c41 + 707c6bd commit 2cac809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gridfs.md
Expand Up @@ -15,7 +15,7 @@ Where


* `db` is the database object * `db` is the database object
* `filename` is the name of the file in GridFS that needs to be accessed/created * `filename` is the name of the file in GridFS that needs to be accessed/created
* `mode` indicated the operaion, can be one of: * `mode` indicates the operation, can be one of:
* "r" (Read): Looks for the file information in fs.files collection, or creates a new id for this object. * "r" (Read): Looks for the file information in fs.files collection, or creates a new id for this object.
* "w" (Write): Erases all chunks if the file already exist. * "w" (Write): Erases all chunks if the file already exist.
* "w+" (Append): Finds the last chunk, and keeps writing after it. * "w+" (Append): Finds the last chunk, and keeps writing after it.
Expand Down Expand Up @@ -132,4 +132,4 @@ Seeking can be done with `seek`


gs.seek(position); gs.seek(position);


This function moves the internal pointer to the specified position. This function moves the internal pointer to the specified position.

0 comments on commit 2cac809

Please sign in to comment.