Skip to content

Commit 5d2b36c

Browse files
committed
Merge branch '2.2' of github.com:mongodb/node-mongodb-native into 2.2
2 parents 05b8770 + a26e04f commit 5d2b36c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/reference/content/reference/ecmascript6/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ This section exposes how to use the MongoDB Node.js driver with ECMAScript 6, le
2020
For more information about ECMAScript 6 see the [ECMAScript 6 features](http://es6-features.org/).
2121
{{% /note %}}
2222

23-
- [Connecting]({{<relref "reference/ecmascript6/connecting.md">}}): how to connect leveraging ECMASdcript 6.
23+
- [Connecting]({{<relref "reference/ecmascript6/connecting.md">}}): how to connect leveraging ECMAScript 6.
2424
- [CRUD]({{<relref "reference/ecmascript6/crud.md">}}): perform CRUD operations leveraging ECMAScript 6.

lib/bulk/unordered.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ var addToOperationsList = function(_self, docType, document) {
203203
/**
204204
* Create a new UnorderedBulkOperation instance (INTERNAL TYPE, do not instantiate directly)
205205
* @class
206+
* @property {number} length Get the number of operations in the bulk.
206207
* @return {UnorderedBulkOperation} a UnorderedBulkOperation instance.
207208
*/
208209
var UnorderedBulkOperation = function(topology, collection, options) {

lib/collection.js

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

0 commit comments

Comments
 (0)