We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aadb91 commit 7de82ccCopy full SHA for 7de82cc
code/PostgreSQLConnector.php
@@ -113,7 +113,7 @@ public function affectedRows()
113
114
public function getGeneratedID($table)
115
{
116
- return $this->query("SELECT currval('\"{$table}_ID_seq\"')")->value();
+ return $this->query("SELECT currval(pg_get_serial_sequence('\"{$table}\"','ID'))")->value();
117
}
118
119
public function getLastError()
0 commit comments