You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/db.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -393,7 +393,7 @@ var collectionKeys = [
393
393
];
394
394
395
395
/**
396
-
* Fetch a specific collection (containing the actual collection information). If the application does not use strict mode you can
396
+
* Fetch a specific collection (containing the actual collection information). If the application does not use strict mode you
397
397
* can use it without a callback in the following way: `var collection = db.collection('mycollection');`
398
398
*
399
399
* @method
@@ -409,7 +409,7 @@ var collectionKeys = [
409
409
* @param {boolean} [options.strict=false] Returns an error if the collection does not exist
410
410
* @param {object} [options.readConcern=null] Specify a read concern for the collection. (only MongoDB 3.2 or higher supported)
411
411
* @param {object} [options.readConcern.level='local'] Specify a read concern level for the collection operations, one of [local|majority]. (only MongoDB 3.2 or higher supported)
412
-
* @param {Db~collectionResultCallback} callback The collection result callback
412
+
* @param {Db~collectionResultCallback} [callback] The collection result callback
413
413
* @return {Collection} return the new Collection instance if not in strict mode
0 commit comments