Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit a12568e

Browse files
committed
HHVM-153: Include read concern in Query debug output
1 parent 7791bc7 commit a12568e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext_mongodb.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ public function __debugInfo() : Array
400400
'skip' => $this->query['skip'],
401401
'limit' => $this->query['limit'],
402402
'batch_size' => $this->query['batchSize'],
403+
'readConcern' => array_key_exists('readConcern', $this->query) ? [ 'level' => $this->query['readConcern'] ] : NULL,
403404
];
404405
}
405406
}

0 commit comments

Comments
 (0)