Sign in Join
FPDoc Onlineexperiment

StatementTokens constant

In unit SQLDB

Array of tokens used to determine the statement type.

Declaration

pascal
StatementTokens : Array[TStatementType] of string = string = ('(unknown)', 'select', 'insert', 'update', 'delete', 'create', 'get', 'put', 'execute', 'start', 'commit', 'rollback', '?')

Description

StatementTokens contains an array of string tokens that are used to detect the type of statement, usually the first SQL keyword of the token. The presence of this token in the SQL statement determines the kind of token.

See also

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