postgreSQL.cursor.getRowCount

Syntax

postgreSQL.cursor.getRowCount (cursorRef)

Params

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

Action

Gets the number of rows in the result set generated by the last query or procedure call.

Returns

The number of rows in the result set, or -1 if the last query or procedure call did not generate a result set or if no query or procedure call has been executed yet.

Examples

postgreSQL.cursor.getRowCount (cursorRef)

« 13

See Also

postgreSQL.cursor.executeQuery

postgreSQL.cursor.executeMultipleQueries

postgreSQL.cursor.callProcedure