Class tsqlite3connection
Unit
Declaration
type tsqlite3connection = class(tcustomsqlconnection, idbcontroller, iblobconnection)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- TCustomConnection
- tmdatabase
- tcustomsqlconnection
- tsqlite3connection
Overview
Methods
| Protected | procedure loaded; override; |
| Protected | function getfloatdate: boolean; override; |
| Protected | function getint64currency: boolean; override; |
| Protected | function getassqltext(const field : tfield) : msestring; override; |
| Protected | function getassqltext(const param : tparam) : msestring; override; |
| Protected | procedure resetstatement(const astatement: psqlite3_stmt); |
| Protected | procedure checkerror(const aerror: integer); |
| Protected | function cantransaction: boolean; |
| Protected | procedure DoInternalConnect; override; |
| Protected | procedure DoInternalDisconnect; override; |
| Protected | function GetHandle: pointer; override; |
| Protected | Function AllocateTransactionHandle: TSQLHandle; override; |
| Protected | procedure internalExecute(const cursor: TSQLCursor; const atransaction: tsqltransaction; const AParams : TmseParams; const autf8: boolean); override; |
| Protected | function GetTransactionHandle(trans : TSQLHandle): pointer; override; |
| Protected | function Commit(trans : TSQLHandle) : boolean; override; |
| Protected | function RollBack(trans : TSQLHandle) : boolean; override; |
| Protected | function StartdbTransaction(const trans : TSQLHandle; const aParams: tstringlist) : boolean; override; |
| Protected | procedure internalCommitRetaining(trans : TSQLHandle); override; |
| Protected | procedure internalRollBackRetaining(trans : TSQLHandle); override; |
| Protected | function getblobdatasize: integer; override; |
| Protected | function CreateBlobStream(const Field: TField; const Mode: TBlobStreamMode; const acursor: tsqlcursor): TStream; override; |
| Protected | procedure execsql(const asql: string); |
| Protected | procedure UpdateIndexDefs(var IndexDefs : TIndexDefs; const aTableName : string; const acursor: tsqlcursor); override; |
| Protected | function getprimarykeyfield(const atablename: string; const acursor: tsqlcursor): string; override; |
| Protected | procedure updateprimarykeyfield(const afield: tfield; const atransaction: tsqltransaction); override; |
| Protected | procedure beginupdate; override; |
| Protected | procedure endupdate; override; |
| Public | constructor create(aowner: tcomponent); override; |
| Public | Function AllocateCursorHandle(const aowner: icursorclient; const aname: ansistring) : TSQLCursor; override; |
| Public | Procedure DeAllocateCursorHandle(var cursor : TSQLCursor); override; |
| Public | procedure preparestatement(const cursor: tsqlcursor; const atransaction : tsqltransaction; const asql: msestring; const aparams : tmseparams); override; |
| Public | function Fetch(cursor : TSQLCursor) : boolean; override; |
| Public | procedure AddFieldDefs(const cursor: TSQLCursor; const FieldDefs : TfieldDefs); override; |
| Public | procedure UnPrepareStatement(cursor : TSQLCursor); override; |
| Public | procedure FreeFldBuffers(cursor : TSQLCursor); override; |
| Public | function loadfield(const cursor: tsqlcursor; const datatype: tfieldtype; const fieldnum: integer; const buffer: pointer; var bufsize: integer; const aisutf8: boolean): boolean; override; |
| Public | procedure updateutf8(var autf8: boolean); override; |
| Public | function getinsertid(const atransaction: tsqltransaction): int64; override; |
| Public | function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override; |
| Public | function stringquery(const asql: string): stringarty; |
| Public | function stringsquery(const asql: string): stringararty; |
Properties
| Public | property lasterror: integer read flasterror; |
| Public | property lasterrormessage: msestring read flasterrormessage; |
| Published | property DatabaseName: filenamety read getdatabasename write setdatabasename; |
| Published | property Connected: boolean read getconnected write setconnected default false; |
| Published | property controller: tdbcontroller read fcontroller write setcontroller; |
| Published | property options: sqliteoptionsty read foptions write setoptions default []; |
| Published | property busytimeoutms: integer read fbusytimeoutms
write setbusytimeoutms default 0; |
| Published | property Transaction; |
| Published | property transactionwrite; |
| Published | property afterconnect; |
| Published | property beforedisconnect; |
Description
Methods
| Protected | procedure loaded; override; |
|
This item has no description. | |
| Protected | function getfloatdate: boolean; override; |
|
This item has no description. | |
| Protected | function getint64currency: boolean; override; |
|
This item has no description. | |
| Protected | function getassqltext(const field : tfield) : msestring; override; |
|
This item has no description. | |
| Protected | function getassqltext(const param : tparam) : msestring; override; |
|
This item has no description. | |
| Protected | procedure resetstatement(const astatement: psqlite3_stmt); |
|
This item has no description. | |
| Protected | procedure checkerror(const aerror: integer); |
|
This item has no description. | |
| Protected | function cantransaction: boolean; |
|
This item has no description. | |
| Protected | procedure DoInternalConnect; override; |
|
This item has no description. | |
| Protected | procedure DoInternalDisconnect; override; |
|
This item has no description. | |
| Protected | function GetHandle: pointer; override; |
|
This item has no description. | |
| Protected | Function AllocateTransactionHandle: TSQLHandle; override; |
|
This item has no description. | |
| Protected | procedure internalExecute(const cursor: TSQLCursor; const atransaction: tsqltransaction; const AParams : TmseParams; const autf8: boolean); override; |
|
This item has no description. | |
| Protected | function GetTransactionHandle(trans : TSQLHandle): pointer; override; |
|
This item has no description. | |
| Protected | function Commit(trans : TSQLHandle) : boolean; override; |
|
This item has no description. | |
| Protected | function RollBack(trans : TSQLHandle) : boolean; override; |
|
This item has no description. | |
| Protected | function StartdbTransaction(const trans : TSQLHandle; const aParams: tstringlist) : boolean; override; |
|
This item has no description. | |
| Protected | procedure internalCommitRetaining(trans : TSQLHandle); override; |
|
This item has no description. | |
| Protected | procedure internalRollBackRetaining(trans : TSQLHandle); override; |
|
This item has no description. | |
| Protected | function getblobdatasize: integer; override; |
|
This item has no description. | |
| Protected | function CreateBlobStream(const Field: TField; const Mode: TBlobStreamMode; const acursor: tsqlcursor): TStream; override; |
|
This item has no description. | |
| Protected | procedure execsql(const asql: string); |
|
This item has no description. | |
| Protected | procedure UpdateIndexDefs(var IndexDefs : TIndexDefs; const aTableName : string; const acursor: tsqlcursor); override; |
|
This item has no description. | |
| Protected | function getprimarykeyfield(const atablename: string; const acursor: tsqlcursor): string; override; |
|
This item has no description. | |
| Protected | procedure updateprimarykeyfield(const afield: tfield; const atransaction: tsqltransaction); override; |
|
This item has no description. | |
| Protected | procedure beginupdate; override; |
|
This item has no description. | |
| Protected | procedure endupdate; override; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | Function AllocateCursorHandle(const aowner: icursorclient; const aname: ansistring) : TSQLCursor; override; |
|
This item has no description. | |
| Public | Procedure DeAllocateCursorHandle(var cursor : TSQLCursor); override; |
|
This item has no description. | |
| Public | procedure preparestatement(const cursor: tsqlcursor; const atransaction : tsqltransaction; const asql: msestring; const aparams : tmseparams); override; |
|
This item has no description. | |
| Public | function Fetch(cursor : TSQLCursor) : boolean; override; |
|
This item has no description. | |
| Public | procedure AddFieldDefs(const cursor: TSQLCursor; const FieldDefs : TfieldDefs); override; |
|
This item has no description. | |
| Public | procedure UnPrepareStatement(cursor : TSQLCursor); override; |
|
This item has no description. | |
| Public | procedure FreeFldBuffers(cursor : TSQLCursor); override; |
|
This item has no description. | |
| Public | function loadfield(const cursor: tsqlcursor; const datatype: tfieldtype; const fieldnum: integer; const buffer: pointer; var bufsize: integer; const aisutf8: boolean): boolean; override; |
|
This item has no description. | |
| Public | procedure updateutf8(var autf8: boolean); override; |
|
This item has no description. | |
| Public | function getinsertid(const atransaction: tsqltransaction): int64; override; |
|
This item has no description. | |
| Public | function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override; |
|
This item has no description. | |
| Public | function stringquery(const asql: string): stringarty; |
|
This item has no description. | |
| Public | function stringsquery(const asql: string): stringararty; |
|
This item has no description. | |
Properties
| Public | property lasterror: integer read flasterror; |
|
This item has no description. | |
| Public | property lasterrormessage: msestring read flasterrormessage; |
|
This item has no description. | |
| Published | property DatabaseName: filenamety read getdatabasename write setdatabasename; |
|
This item has no description. | |
| Published | property Connected: boolean read getconnected write setconnected default false; |
|
This item has no description. | |
| Published | property controller: tdbcontroller read fcontroller write setcontroller; |
|
This item has no description. | |
| Published | property options: sqliteoptionsty read foptions write setoptions default []; |
|
This item has no description. | |
| Published | property busytimeoutms: integer read fbusytimeoutms
write setbusytimeoutms default 0; |
|
This item has no description. | |
| Published | property Transaction; |
|
This item has no description. | |
| Published | property transactionwrite; |
|
This item has no description. | |
| Published | property afterconnect; |
|
This item has no description. | |
| Published | property beforedisconnect; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.