Skip to content

TConnOption

Connection options.

Declaration

Source position: sqldb.pp line 200

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

Values

Value Description
sqSupportParams The connection type has native support for parameters.
sqSupportEmptyDatabaseName Does the connection allow empty database names ?
sqEscapeSlash Escapes in string literals are done with backslash characters.
sqEscapeRepeat Escapes in string literals are done by repeating the character.
sqImplicitTransaction Does the connection support implicit transaction management.
sqLastInsertID Does the connection support getting the ID for the last insert operation.
sqSupportReturning The connection type supports INSERT/UPDATE with RETURNING clause.
sqSequences Are sequences supported.
sqCommitEndsPrepared
sqRollbackEndsPrepared

Description

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