Skip to content

Commit 52eaf53

Browse files
authored
docs: fix typo in aggregate
correct the collation argument description for clarity NODE-2416
1 parent 3b0a23f commit 52eaf53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/collection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@ Collection.prototype.findAndRemove = deprecate(function(query, sort, options, ca
18711871
* @param {boolean} [options.promoteLongs=true] Promotes Long values to number if they fit inside the 53 bits resolution.
18721872
* @param {boolean} [options.promoteValues=true] Promotes BSON values to native types where possible, set to false to only receive wrapper types.
18731873
* @param {boolean} [options.promoteBuffers=false] Promotes Binary BSON values to native Node Buffers.
1874-
* @param {object} [options.collation] Specify collation (MongoDB 3.4 or higher) settings for update operation (see 3.4 documentation for available fields).
1874+
* @param {object} [options.collation] Specify collation settings for operation. See {@link https://docs.mongodb.com/manual/reference/command/aggregate|aggregation documentation}.
18751875
* @param {string} [options.comment] Add a comment to an aggregation command
18761876
* @param {string|object} [options.hint] Add an index selection hint to an aggregation command
18771877
* @param {ClientSession} [options.session] optional session to use for this operation

0 commit comments

Comments
 (0)