Skip to content

Commit

Permalink
fix: i am stupid forget to fetch the cursor result
Browse files Browse the repository at this point in the history
  • Loading branch information
darkterminal committed Jul 13, 2024
1 parent ea6109c commit 44e7e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/LibSQLConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function cursor($query, $bindings = [], $useReadPdo = true)
throw new Exception('Failed to prepare statement.');
}

$results = $preparedQuery->query($this->prepareBindings($bindings));
$results = $preparedQuery->query($this->prepareBindings($bindings))->fetchArray(LibSQL::LIBSQL_ASSOC);

return $results;
});
Expand Down

0 comments on commit 44e7e96

Please sign in to comment.