This commit is contained in:
Anatoly 2020-01-17 11:33:23 +03:00
parent 0c9ae85fdc
commit ea40d10f60
3 changed files with 5 additions and 82 deletions

View file

@ -126,7 +126,6 @@ class Database extends PDO
$sql = "INSERT INTO $table (" . implode(",", array_keys($values))
. ") VALUES (" . implode(",", array_keys($prep)). ")";
if ($return_id) {
if ($this->isPostgres()){
$sql = $sql." RETURNING $index";