@@ -55,13 +55,13 @@ final class Util
55
55
'loop ' => ['operations ' , 'storeErrorsAsEntity ' , 'storeFailuresAsEntity ' , 'storeSuccessesAsEntity ' , 'storeIterationsAsEntity ' ],
56
56
],
57
57
Client::class => [
58
- 'createChangeStream ' => ['pipeline ' , 'session ' , 'fullDocument ' , 'resumeAfter ' , 'startAfter ' , 'startAtOperationTime ' , 'batchSize ' , 'collation ' , 'maxAwaitTimeMS ' ],
58
+ 'createChangeStream ' => ['pipeline ' , 'session ' , 'fullDocument ' , 'resumeAfter ' , 'startAfter ' , 'startAtOperationTime ' , 'batchSize ' , 'collation ' , 'maxAwaitTimeMS ' , ' showExpandedEvents ' ],
59
59
'listDatabaseNames ' => ['authorizedDatabases ' , 'filter ' , 'maxTimeMS ' , 'session ' ],
60
60
'listDatabases ' => ['authorizedDatabases ' , 'filter ' , 'maxTimeMS ' , 'session ' ],
61
61
],
62
62
Database::class => [
63
63
'aggregate ' => ['pipeline ' , 'session ' , 'useCursor ' , 'allowDiskUse ' , 'batchSize ' , 'bypassDocumentValidation ' , 'collation ' , 'comment ' , 'explain ' , 'hint ' , 'let ' , 'maxAwaitTimeMS ' , 'maxTimeMS ' ],
64
- 'createChangeStream ' => ['pipeline ' , 'session ' , 'fullDocument ' , 'resumeAfter ' , 'startAfter ' , 'startAtOperationTime ' , 'batchSize ' , 'collation ' , 'maxAwaitTimeMS ' ],
64
+ 'createChangeStream ' => ['pipeline ' , 'session ' , 'fullDocument ' , 'resumeAfter ' , 'startAfter ' , 'startAtOperationTime ' , 'batchSize ' , 'collation ' , 'maxAwaitTimeMS ' , ' showExpandedEvents ' ],
65
65
'createCollection ' => ['collection ' , 'session ' , 'autoIndexId ' , 'capped ' , 'changeStreamPreAndPostImages ' , 'clusteredIndex ' , 'collation ' , 'expireAfterSeconds ' , 'flags ' , 'indexOptionDefaults ' , 'max ' , 'maxTimeMS ' , 'pipeline ' , 'size ' , 'storageEngine ' , 'timeseries ' , 'validationAction ' , 'validationLevel ' , 'validator ' , 'viewOn ' ],
66
66
'dropCollection ' => ['collection ' , 'session ' ],
67
67
'listCollectionNames ' => ['authorizedCollections ' , 'filter ' , 'maxTimeMS ' , 'session ' ],
@@ -73,7 +73,7 @@ final class Util
73
73
Collection::class => [
74
74
'aggregate ' => ['pipeline ' , 'session ' , 'useCursor ' , 'allowDiskUse ' , 'batchSize ' , 'bypassDocumentValidation ' , 'collation ' , 'comment ' , 'explain ' , 'hint ' , 'let ' , 'maxAwaitTimeMS ' , 'maxTimeMS ' ],
75
75
'bulkWrite ' => ['let ' , 'requests ' , 'session ' , 'ordered ' , 'bypassDocumentValidation ' , 'comment ' ],
76
- 'createChangeStream ' => ['pipeline ' , 'session ' , 'fullDocument ' , 'fullDocumentBeforeChange ' , 'resumeAfter ' , 'startAfter ' , 'startAtOperationTime ' , 'batchSize ' , 'collation ' , 'maxAwaitTimeMS ' , 'comment ' ],
76
+ 'createChangeStream ' => ['pipeline ' , 'session ' , 'fullDocument ' , 'fullDocumentBeforeChange ' , 'resumeAfter ' , 'startAfter ' , 'startAtOperationTime ' , 'batchSize ' , 'collation ' , 'maxAwaitTimeMS ' , 'comment ' , ' showExpandedEvents ' ],
77
77
'createFindCursor ' => ['filter ' , 'session ' , 'allowDiskUse ' , 'allowPartialResults ' , 'batchSize ' , 'collation ' , 'comment ' , 'cursorType ' , 'hint ' , 'limit ' , 'max ' , 'maxAwaitTimeMS ' , 'maxScan ' , 'maxTimeMS ' , 'min ' , 'modifiers ' , 'noCursorTimeout ' , 'oplogReplay ' , 'projection ' , 'returnKey ' , 'showRecordId ' , 'skip ' , 'snapshot ' , 'sort ' ],
78
78
'createIndex ' => ['keys ' , 'commitQuorum ' , 'maxTimeMS ' , 'name ' , 'session ' , 'comment ' ],
79
79
'dropIndex ' => ['name ' , 'session ' , 'maxTimeMS ' , 'comment ' ],
@@ -88,7 +88,7 @@ final class Util
88
88
'find ' => ['let ' , 'filter ' , 'session ' , 'allowDiskUse ' , 'allowPartialResults ' , 'batchSize ' , 'collation ' , 'comment ' , 'cursorType ' , 'hint ' , 'limit ' , 'max ' , 'maxAwaitTimeMS ' , 'maxScan ' , 'maxTimeMS ' , 'min ' , 'modifiers ' , 'noCursorTimeout ' , 'oplogReplay ' , 'projection ' , 'returnKey ' , 'showRecordId ' , 'skip ' , 'snapshot ' , 'sort ' ],
89
89
'findOne ' => ['let ' , 'filter ' , 'session ' , 'allowDiskUse ' , 'allowPartialResults ' , 'batchSize ' , 'collation ' , 'comment ' , 'cursorType ' , 'hint ' , 'max ' , 'maxAwaitTimeMS ' , 'maxScan ' , 'maxTimeMS ' , 'min ' , 'modifiers ' , 'noCursorTimeout ' , 'oplogReplay ' , 'projection ' , 'returnKey ' , 'showRecordId ' , 'skip ' , 'snapshot ' , 'sort ' ],
90
90
'findOneAndReplace ' => ['let ' , 'returnDocument ' , 'filter ' , 'replacement ' , 'session ' , 'projection ' , 'returnDocument ' , 'upsert ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'maxTimeMS ' , 'new ' , 'remove ' , 'sort ' , 'comment ' ],
91
- 'rename ' => ['to ' , 'comment ' ],
91
+ 'rename ' => ['to ' , 'comment ' , ' dropTarget ' ],
92
92
'replaceOne ' => ['let ' , 'filter ' , 'replacement ' , 'session ' , 'upsert ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'comment ' ],
93
93
'findOneAndUpdate ' => ['let ' , 'returnDocument ' , 'filter ' , 'update ' , 'session ' , 'upsert ' , 'projection ' , 'remove ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'maxTimeMS ' , 'sort ' , 'comment ' ],
94
94
'updateMany ' => ['let ' , 'filter ' , 'update ' , 'session ' , 'upsert ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'comment ' ],
0 commit comments