Sign in Join
FPDoc Onlineexperiment

TConnOption enumeration

In unit SQLDB

Connection options.

Declaration

pascal
TConnOption = (sqSupportParams,sqSupportEmptyDatabaseName,sqEscapeSlash,
 sqEscapeRepeat,sqImplicitTransaction,sqLastInsertID,
 sqSupportReturning,sqSequences,sqCommitEndsPrepared,
 sqRollbackEndsPrepared)

Description

This type describes some of the option that a particular connection type supports.

Values

sqSupportParamsThe connection type has native support for parameters.
sqSupportEmptyDatabaseNameDoes the connection allow empty database names ?
sqEscapeSlashEscapes in string literals are done with backslash characters.
sqEscapeRepeatEscapes in string literals are done by repeating the character.
sqImplicitTransactionDoes the connection support implicit transaction management.
sqLastInsertIDDoes the connection support getting the ID for the last insert operation.
sqSupportReturningThe connection type supports INSERT/UPDATE with RETURNING clause.
sqSequencesAre sequences supported.
sqCommitEndsPrepared
sqRollbackEndsPrepared

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.