Skip to content

Commit b613933

Browse files
committed
Merge pull request #619 from loonytoons/compileSelectError
Update QueryBuilder get method to run getFresh method
2 parents cd542dc + 341f9dd commit b613933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jenssegers/Mongodb/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function find($id, $columns = [])
147147
*/
148148
public function get($columns = [])
149149
{
150-
return parent::get($columns);
150+
return $this->getFresh($columns);
151151
}
152152

153153
/**

0 commit comments

Comments
 (0)