@@ -55,13 +55,13 @@ final class Util
5555 'loop ' => ['operations ' , 'storeErrorsAsEntity ' , 'storeFailuresAsEntity ' , 'storeSuccessesAsEntity ' , 'storeIterationsAsEntity ' ],
5656 ],
5757 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 ' ],
5959 'listDatabaseNames ' => ['authorizedDatabases ' , 'filter ' , 'maxTimeMS ' , 'session ' ],
6060 'listDatabases ' => ['authorizedDatabases ' , 'filter ' , 'maxTimeMS ' , 'session ' ],
6161 ],
6262 Database::class => [
6363 '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 ' ],
6565 'createCollection ' => ['collection ' , 'session ' , 'autoIndexId ' , 'capped ' , 'changeStreamPreAndPostImages ' , 'clusteredIndex ' , 'collation ' , 'expireAfterSeconds ' , 'flags ' , 'indexOptionDefaults ' , 'max ' , 'maxTimeMS ' , 'pipeline ' , 'size ' , 'storageEngine ' , 'timeseries ' , 'validationAction ' , 'validationLevel ' , 'validator ' , 'viewOn ' ],
6666 'dropCollection ' => ['collection ' , 'session ' ],
6767 'listCollectionNames ' => ['authorizedCollections ' , 'filter ' , 'maxTimeMS ' , 'session ' ],
@@ -73,7 +73,7 @@ final class Util
7373 Collection::class => [
7474 'aggregate ' => ['pipeline ' , 'session ' , 'useCursor ' , 'allowDiskUse ' , 'batchSize ' , 'bypassDocumentValidation ' , 'collation ' , 'comment ' , 'explain ' , 'hint ' , 'let ' , 'maxAwaitTimeMS ' , 'maxTimeMS ' ],
7575 '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 ' ],
7777 '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 ' ],
7878 'createIndex ' => ['keys ' , 'commitQuorum ' , 'maxTimeMS ' , 'name ' , 'session ' , 'comment ' ],
7979 'dropIndex ' => ['name ' , 'session ' , 'maxTimeMS ' , 'comment ' ],
@@ -88,7 +88,7 @@ final class Util
8888 '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 ' ],
8989 '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 ' ],
9090 '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 ' ],
9292 'replaceOne ' => ['let ' , 'filter ' , 'replacement ' , 'session ' , 'upsert ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'comment ' ],
9393 'findOneAndUpdate ' => ['let ' , 'returnDocument ' , 'filter ' , 'update ' , 'session ' , 'upsert ' , 'projection ' , 'remove ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'maxTimeMS ' , 'sort ' , 'comment ' ],
9494 'updateMany ' => ['let ' , 'filter ' , 'update ' , 'session ' , 'upsert ' , 'arrayFilters ' , 'bypassDocumentValidation ' , 'collation ' , 'hint ' , 'comment ' ],
0 commit comments