edits
This commit is contained in:
parent
0c9ae85fdc
commit
ea40d10f60
3 changed files with 5 additions and 82 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue