Skip to content

Commit

Permalink
[update] to latest dsql
Browse files Browse the repository at this point in the history
  • Loading branch information
georgehristov committed Oct 30, 2020
1 parent 4d05e84 commit dc81255
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-schema/PhpunitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function getDb(array $tableNames = null, bool $noId = false): array
$data2 = [];

$s = $this->db->dsql();
$data = $s->table($table)->get();
$data = $s->table($table)->getRows();

foreach ($data as &$row) {
foreach ($row as &$val) {
Expand Down
2 changes: 1 addition & 1 deletion src/Persistence/Sql/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ protected function doExecute()

protected function doGet(): array
{
return $this->dsql->get();
return $this->dsql->getRows();
}

protected function doGetRow(): ?array
Expand Down

0 comments on commit dc81255

Please sign in to comment.