Skip to content

Commit

Permalink
Merge branch '2.0' of github.com:top-think/think-orm into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Sep 16, 2023
2 parents 062f80b + 7ed073d commit 08bcede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/connector/Mongo.php
Expand Up @@ -258,7 +258,7 @@ public function getCursor(BaseQuery $query, $mongoQuery, bool $master = false):
$this->queryStartTime = microtime(true);

if ($session = $this->getSession()) {
$this->cursor = $this->mongo->executeQuery($namespace, $query, [
$this->cursor = $this->mongo->executeQuery($namespace, $mongoQuery, [
'readPreference' => is_null($readPreference) ? new ReadPreference(ReadPreference::RP_PRIMARY) : $readPreference,
'session' => $session,
]);
Expand Down

0 comments on commit 08bcede

Please sign in to comment.