File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,21 @@ pre: |
3535 </reference/bson-type-comparison-order/#collation>` for the collection.
3636 ---
3737arg_name : option
38+ name : expireAfterSeconds
39+ type : integer
40+ description : |
41+ Allows specifying a TTL after which documents will be removed from a
42+ time-series collection.
43+
44+ This option is available in MongoDB 5.0+ and will result in an exception at
45+ execution time if specified for an older server version.
46+
47+ .. versionadded:: 1.9
48+ interface : phpmethod
49+ operation : ~
50+ optional : true
51+ ---
52+ arg_name : option
3853name : flags
3954type : integer
4055description : |
@@ -133,6 +148,20 @@ interface: phpmethod
133148operation : ~
134149optional : true
135150---
151+ arg_name : option
152+ name : timeseries
153+ type : array|object
154+ description : |
155+ Allows users to specify options for time-series collections.
156+
157+ This option is available in MongoDB 5.0+ and will result in an exception at
158+ execution time if specified for an older server version.
159+
160+ .. versionadded:: 1.9
161+ interface : phpmethod
162+ operation : ~
163+ optional : true
164+ ---
136165source :
137166 file : apiargs-MongoDBDatabase-common-option.yaml
138167 ref : typeMap
You can’t perform that action at this time.
0 commit comments