Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #913 from jdavis/patch-1

Minor typo fix in documentation
  • Loading branch information...
commit 37d4b731bbf93b68f33086ebcb18de26f6588962 2 parents 27f7272 + dfb559b
@christkv christkv authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mongodb/db.js
View
4 lib/mongodb/db.js
@@ -438,7 +438,7 @@ Db.prototype.collectionNames = function(collectionName, options, callback) {
* - **raw** {Boolean, default:false}, perform all operations using raw bson objects.
* - **pkFactory** {Object}, object overriding the basic ObjectID primary key generation.
* - **readPreference** {String}, the prefered read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
- * - **strict**, (Boolean, default:false) throws and error if the collection does not exist
+ * - **strict**, (Boolean, default:false) throws an error if the collection does not exist
*
* Deprecated Options
* - **safe** {true | {w:n, wtimeout:n} | {fsync:true}, default:false}, executes with a getLastError command returning the results of the command on MongoDB.
@@ -822,7 +822,7 @@ Db.prototype.removeUser = function(username, options, callback) {
* - **max** {Number}, the maximum number of documents in the capped collection.
* - **autoIndexId** {Boolean, default:true}, create an index on the _id field of the document, True by default on MongoDB 2.2 or higher off for version < 2.2.
* - **readPreference** {String}, the prefered read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
- * - **strict**, (Boolean, default:false) throws and error if collection already exists
+ * - **strict**, (Boolean, default:false) throws an error if collection already exists
*
* Deprecated Options
* - **safe** {true | {w:n, wtimeout:n} | {fsync:true}, default:false}, executes with a getLastError command returning the results of the command on MongoDB.
Please sign in to comment.
Something went wrong with that request. Please try again.