File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4747 */
4848class Watch implements Executable, /* @internal */ CommandSubscriber
4949{
50- private static $ wireVersionForOperationTime = 7 ;
50+ private static $ wireVersionForStartAtOperationTime = 7 ;
5151
5252 const FULL_DOCUMENT_DEFAULT = 'default ' ;
5353 const FULL_DOCUMENT_UPDATE_LOOKUP = 'updateLookup ' ;
@@ -269,7 +269,7 @@ private function executeAggregate(Server $server)
269269 /* If we've already captured an operation time or the server does not
270270 * support returning an operation time (e.g. MongoDB 3.6), execute the
271271 * aggregation directly and return its cursor. */
272- if ($ this ->operationTime !== null || ! \MongoDB \server_supports_feature ($ server , self ::$ wireVersionForOperationTime )) {
272+ if ($ this ->operationTime !== null || ! \MongoDB \server_supports_feature ($ server , self ::$ wireVersionForStartAtOperationTime )) {
273273 return $ this ->aggregate ->execute ($ server );
274274 }
275275
You can’t perform that action at this time.
0 commit comments