merge
This commit is contained in:
commit
57773265b4
1 changed files with 0 additions and 1 deletions
|
|
@ -136,7 +136,6 @@ class Database extends PDO
|
||||||
|
|
||||||
$sql = "INSERT INTO $table (" . implode(",", array_keys($values))
|
$sql = "INSERT INTO $table (" . implode(",", array_keys($values))
|
||||||
. ") VALUES (" . implode(",", array_keys($prep)). ")";
|
. ") VALUES (" . implode(",", array_keys($prep)). ")";
|
||||||
|
|
||||||
if ($return_id) {
|
if ($return_id) {
|
||||||
if ($this->isPostgres()){
|
if ($this->isPostgres()){
|
||||||
$sql = $sql." RETURNING $index";
|
$sql = $sql." RETURNING $index";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue