PgDAC

TPgRefCursor Class

A class for working with REFCURSOR values.

For a list of all members of this type, see TPgRefCursor members.

Unit

PgObjects

Syntax

TPgRefCursor = class(TPgCursor);

Remarks

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.

Inheritance Hierarchy

TSharedObject
   TCRCursor
      TPgCursor
         TPgRefCursor

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback