Skip to content

Commit

Permalink
refactor(pdo): update default fetch mode to associative array in LibS…
Browse files Browse the repository at this point in the history
…QLPDOStatement
  • Loading branch information
darkterminal committed Jul 12, 2024
1 parent a43866a commit 751701f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/LibSQLPDOStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LibSQLPDOStatement extends PDOStatement
{
protected int $affectedRows = 0;

protected int $fetchMode = PDO::FETCH_BOTH;
protected int $fetchMode = PDO::FETCH_ASSOC;

protected array $bindings = [];

Expand Down

0 comments on commit 751701f

Please sign in to comment.