Skip to content

Commit cfeaa98

Browse files
authored
PHPLIB-293 Add support for a comment parameter to the aggregate command (#432)
* PHPLIB-293 Add support for a comment parameter to the aggregate command
1 parent 16ba515 commit cfeaa98

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/includes/apiargs-MongoDBCollection-method-aggregate-option.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ post: |
3535
version of MongoDB, this option will be ignored.
3636
---
3737
arg_name: option
38+
name: comment
39+
type: string
40+
description: |
41+
Users can specify an arbitrary string to help trace the operation through the
42+
database profiler, currentOp, and logs.
43+
44+
.. versionadded:: 1.3
45+
interface: phpmethod
46+
operation: ~
47+
optional: true
48+
---
49+
arg_name: option
3850
name: hint
3951
type: string|array|object
4052
description: |

0 commit comments

Comments
 (0)