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 1e76773 commit a346fcdCopy full SHA for a346fcd
src/Concerns/ManagesStaleReads.php
@@ -58,7 +58,7 @@ public function selectWithTimestampBound($query, $bindings = [], TimestampBoundI
58
*/
59
public function selectOneWithTimestampBound($query, $bindings = [], TimestampBoundInterface $timestampBound = null): ?array
60
{
61
- return $this->cursorWithTimestampBound($query, $bindings, $timestampBound)->current();
+ return $this->selectWithTimestampBound($query, $bindings, $timestampBound)[0] ?? null;
62
}
63
64
0 commit comments