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 47
47
*/
48
48
class Watch implements Executable, /* @internal */ CommandSubscriber
49
49
{
50
- private static $ wireVersionForOperationTime = 7 ;
50
+ private static $ wireVersionForStartAtOperationTime = 7 ;
51
51
52
52
const FULL_DOCUMENT_DEFAULT = 'default ' ;
53
53
const FULL_DOCUMENT_UPDATE_LOOKUP = 'updateLookup ' ;
@@ -269,7 +269,7 @@ private function executeAggregate(Server $server)
269
269
/* If we've already captured an operation time or the server does not
270
270
* support returning an operation time (e.g. MongoDB 3.6), execute the
271
271
* 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 )) {
273
273
return $ this ->aggregate ->execute ($ server );
274
274
}
275
275
You can’t perform that action at this time.
0 commit comments