PHP3 Manual | ||
---|---|---|
Prev | Next |
pg_GetLastOid -- Returns the last object identifier
pg_GetLastOid() can be used to retrieve the Oid assigned to an inserted tuple if the last command sent via pg_Exec() was an SQL INSERT. This function will return a positive integer if there was a valid Oid. It will return -1 if an error occured or the last command sent via pg_Exec() was not an INSERT.
Prev | Home | Next |
pg_FreeResult | Up | pg_Host |