A class for working with REFCURSOR values.
For a list of all members of this type, see TPgRefCursor members.
TPgRefCursor = class(TPgCursor);
The TPgRefCursor class is used to work with REFCURSOR values. An instance of TPgRefCursor holds the cursor name that is returned, for exapmle, from a stored procedure, and can be used to fetch data from the cursor. Assign an instance of the TPgRefCursor class to the Cursor property of TPgQuery and call the TPgQuery.Open method to fetch data from the cursor.
Note: all operations with REFCURSOR require an active transaction.