Skip to content

TSQLCursor

Internal object representing a database result set.

    Declaration

    Source position: sqldb.pp line 111

    type
    
      TSQLCursor = class(TSQLHandle)
      public
        FDirect: Boolean;
        FPrepared: Boolean;
        FSelectable: Boolean;
        FInitFieldDef: Boolean;
        FStatementType: TStatementType = sqltypes.TStatementType;
        FSchemaType: TSchemaType = sqltypes.TSchemaType;
      end;
    

    Description

    TSQLCursor is an abstract internal object representing a result set returned by a single SQL select statement (TSQLHandle). statement. It is used by the TSQLQuery component to handle result sets returned by SQL statements.

    This object must not be used directly.

    Fieldss

    Member Visibility Description
    FDirect public Is the statement executed directly ?
    FInitFieldDef public Have the field definitions been initialized.
    FPrepared public Was the statement prepared.
    FSchemaType public Schema type requested.
    FSelectable public Selectable query or not.
    FStatementType public Statement type in the SQL property.
    See all Fieldss

    See also

    Name Description
    TSQLQuery Class to handle SQL commands (with or without result set).
    TSQLHandle Internal object representing a database internal handle.