We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4957c80 commit b433869Copy full SHA for b433869
src/Operation/Distinct.php
@@ -107,7 +107,7 @@ public function execute(Server $server)
107
108
$readPreference = isset($this->options['readPreference']) ? $this->options['readPreference'] : null;
109
110
- $cursor = $server->executeCommand($this->databaseName, $this->createCommand($server), $readPreference);
+ $cursor = $server->executeCommand($this->databaseName, $this->createCommand(), $readPreference);
111
$result = current($cursor->toArray());
112
113
if ( ! isset($result->values) || ! is_array($result->values)) {
0 commit comments