JDatabaseDriverPostgresql::insertid

Method to get the auto-incremented value from the last INSERT statement.

To be called after the INSERT statement, it's MANDATORY to have a sequence on every primary key table. To get the auto incremented value it's possible to call this function after INSERT INTO query, or use INSERT INTO with RETURNING clause.