postgreSQL.cursor.getLastOID

Syntax

postgreSQL.cursor.getLastOID (cursorRef)

Params

cursorRef is a reference to a cursor as returned by postgreSQL.cursor.create.

Action

Get the OID of the last row affected by the last query or procedure call.

Returns

The OID of the last row affected by the last query or procedure call, or 0 if the last query or procedure call did not affect any rows.

Examples

postgreSQL.cursor.getLastOID (cursorRef)

« 100563

See Also

postgreSQL.cursor.executeQuery

postgreSQL.cursor.executeMultipleQueries

postgreSQL.cursor.callProcedure