Skip to content

Commit 6f85c68

Browse files
committed
Added missing partial index param in the docs
1 parent 31bcf97 commit 6f85c68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/collection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,6 +1576,7 @@ define.classMethod('isCapped', {callback: true, promise:true});
15761576
* @param {number} [options.v=null] Specify the format version of the indexes.
15771577
* @param {number} [options.expireAfterSeconds=null] Allows you to expire data on indexes applied to a data (MongoDB 2.2 or higher)
15781578
* @param {number} [options.name=null] Override the autogenerated index name (useful if the resulting name is larger than 128 bytes)
1579+
* @param {object} [options.partialFilterExpression=null] Creates a partial index based on the given filter object (MongoDB 3.2 or higher)
15791580
* @param {object} [options.collation=null] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
15801581
* @param {Collection~resultCallback} [callback] The command result callback
15811582
* @return {Promise} returns Promise if no callback passed

0 commit comments

Comments
 (0)