Skip to content

Commit

Permalink
Update to PeachySQL 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorejb committed Oct 6, 2024
1 parent 2543881 commit 8fa0212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ext-json": "*",
"psr/http-message": "^1.1 || ^2.0",
"shrikeh/teapot": "^2.3.1",
"theodorejb/peachy-sql": "^6.1"
"theodorejb/peachy-sql": "^6.3"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down
2 changes: 1 addition & 1 deletion src/Entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public function addEntities(array $entities): array
}

try {
$ids = $this->db->insertRows($this->getTableName(), $rows, $this->getIdentityIncrement())->getIds();
$ids = $this->db->insertRows($this->getTableName(), $rows, $this->getIdentityIncrement())->ids;
foreach ($existingIds as $offset => $id) {
array_splice($ids, $offset, 0, [$id]);
}
Expand Down

0 comments on commit 8fa0212

Please sign in to comment.