Unit msqldb
Description
This item has no description.
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
updatestatementtypes: array[tupdatekind] of tstatementtype =
(stupdate, stinsert, stdelete); |
StatementTokens : Array[TStatementType] of msestring =
('(none)', 'select',
'insert', 'update', 'delete',
'create', 'get', 'put', 'execute',
'start','commit','rollback', '?'
); |
datareturningtypes = [stselect,stexecprocedure]; |
blobidsize = sizeof(integer); |
Description
Functions and Procedures
procedure updateparams(const aparams: tmseparams; const autf8: boolean); |
|
This item has no description. |
procedure checksqlconnection(const aname: ansistring; const avalue: tmdatabase); |
|
This item has no description. |
procedure checksqltransaction(const aname: ansistring; const avalue: tmdbtransaction); |
|
This item has no description. |
function splitsql(const asql: msestring; const term: msechar = ';'; const charescapement: boolean = false): msestringarty; |
|
This item has no description. |
Types
TSchemaType = (...); |
|
This item has no description. Values
-
stNoSchema
-
stTables
-
stSysTables
-
stProcedures
-
stColumns
-
stProcedureParams
-
stIndexes
-
stPackages
|
sqlconnoptionty = (...); |
|
This item has no description. Values
-
sco_supportparams
-
sco_forceparams
-
sco_emulateretaining
-
sco_nounprepared
-
sco_blobscached
|
TStatementType = (...); |
|
This item has no description. Values
-
stNone
-
stSelect
-
stInsert
-
stUpdate
-
stDelete
-
stDDL
-
stGetSegment
-
stPutSegment
-
stExecProcedure
-
stStartTrans
-
stCommit
-
stRollback
-
stSelectForUpd
|
TCommitRollbackAction = (...); |
|
This item has no description. Values
-
caNone
-
caCommit
-
caCommitRetaining
-
caRollback
-
caRollbackRetaining
|
transactionoptionty = (...); |
|
tao_fake makes the transaction not really start a DB transaction at all (the connection works without transactions). tao_fakeretaining is for backends without native CommitRetaining/RollbackRetaining (e.g. Postgres, unlike Firebird): it simulates them by closing and reopening the transaction — unlike with a real retaining commit/rollback, bookmarks taken before it become invalid. RollbackRetaining always refetches the bound datasets; on CommitRetaining this only happens if tao_refreshdatasets is also set (useful to pick up changes made by other sessions) — datasets that were inactive are reactivated either way.
Values
-
tao_fake
-
tao_fakeretaining
-
tao_catcherror
-
tao_rollbackonerror
-
tao_refreshdatasets
|
sqltransactioneventty = procedure(const sender: tsqltransaction) of object; |
|
This item has no description. |
commiterroreventty = procedure(const sender: tsqltransaction; const aexception: exception; var handled: boolean) of object; |
|
This item has no description. |
sqlstatementoptionty = (...); |
|
This item has no description. Values
-
sso_utf8
-
sso_autocommit
-
sso_autocommitret
-
sso_noprepare
-
sso_savepoint
|
msesqlscripteventty = procedure(const sender: tmsesqlscript) of object; |
|
This item has no description. |
Constants
StatementTokens : Array[TStatementType] of msestring =
('(none)', 'select',
'insert', 'update', 'delete',
'create', 'get', 'put', 'execute',
'start','commit','rollback', '?'
); |
|
This item has no description. |
blobidsize = sizeof(integer); |
|
This item has no description. |
Generated by PasDoc 1.0.4.