Class TPQConnection

Unit

Declaration

type TPQConnection = class(TSQLConnection, iblobconnection, idbevent, idbeventcontroller)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected procedure checkerror(const aconnection: ppgconn; var ares: ppgresult; const amessage: ansistring);
Protected procedure checkexec(const aconnection: ppgconn; const asql: ansistring; const amessage: ansistring);
Protected procedure finalizetransaction(const atransaction: tsqlhandle); override;
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 procedure internalexecuteunprepared(const cursor: tsqlcursor; const atransaction: tsqltransaction; const asql: string; const origsql: msestring; const aparams: tmseparams); override;
Protected function GetTransactionHandle(trans : TSQLHandle): pointer; override;
Protected function RollBack(trans : TSQLHandle) : boolean; override;
Protected function Commit(trans : TSQLHandle) : boolean; override;
Protected procedure internalCommitRetaining(trans : TSQLHandle); override;
Protected function StartdbTransaction(const trans : TSQLHandle; const AParams: tstringlist) : boolean; override;
Protected procedure internalRollBackRetaining(trans : TSQLHandle); override;
Protected procedure UpdateIndexDefs(var IndexDefs : TIndexDefs; const aTableName : string; const acursor: tsqlcursor); override;
Protected function GetSchemaInfoSQL(SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : msestring) : msestring; override;
Protected procedure dopqexec(const asql: ansistring); overload;
Protected procedure dopqexec(const asql: ansistring; const aconnection: ppgconn); overload;
Protected function CreateBlobStream(const Field: TField; const Mode: TBlobStreamMode; const acursor: tsqlcursor): TStream; override;
Protected function getblobdatasize: integer; override;
Protected function getnumboolean: boolean; override;
Protected procedure writeblobdata(const atransaction: tsqltransaction; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string);
Protected procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam);
Protected procedure listen(const sender: tdbevent);
Protected procedure unlisten(const sender: tdbevent);
Protected procedure fire(const sender: tdbevent);
Protected function getdbevent(var aname: string; var aid: int64): boolean;
Protected procedure dolisten(const sender: tdbevent);
Protected procedure dounlisten(const sender: tdbevent);
Public constructor Create(AOwner : TComponent); override;
Public destructor destroy; 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 procedure FreeFldBuffers(cursor : TSQLCursor); override;
Public procedure AddFieldDefs(const cursor: TSQLCursor; const FieldDefs : TfieldDefs); override;
Public procedure UnPrepareStatement(cursor : TSQLCursor); override;
Public function Fetch(cursor : TSQLCursor) : boolean; 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 function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override;
Public function backendpid: int64;
Public procedure createdatabase(const asql: ansistring);

Properties

Public property eventcontroller: tdbeventcontroller read feventcontroller;
Public property lasterrormessage: msestring read flasterrormessage;
Public property lastsqlcode: string read flastsqlcode;
Published property DatabaseName;
Published property KeepConnection;
Published property Params;
Published property ongetcredentials;
Published property eventinterval: integer read geteventinterval write seteventinterval default defaultdbeventinterval;

Description

Methods

Protected procedure checkerror(const aconnection: ppgconn; var ares: ppgresult; const amessage: ansistring);

This item has no description.

Protected procedure checkexec(const aconnection: ppgconn; const asql: ansistring; const amessage: ansistring);

This item has no description.

Protected procedure finalizetransaction(const atransaction: tsqlhandle); override;

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 procedure internalexecuteunprepared(const cursor: tsqlcursor; const atransaction: tsqltransaction; const asql: string; const origsql: msestring; const aparams: tmseparams); override;

This item has no description.

Protected function GetTransactionHandle(trans : TSQLHandle): pointer; override;

This item has no description.

Protected function RollBack(trans : TSQLHandle) : boolean; override;

This item has no description.

Protected function Commit(trans : TSQLHandle) : boolean; override;

This item has no description.

Protected procedure internalCommitRetaining(trans : TSQLHandle); override;

This item has no description.

Protected function StartdbTransaction(const trans : TSQLHandle; const AParams: tstringlist) : boolean; override;

This item has no description.

Protected procedure internalRollBackRetaining(trans : TSQLHandle); override;

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 GetSchemaInfoSQL(SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : msestring) : msestring; override;

This item has no description.

Protected procedure dopqexec(const asql: ansistring); overload;

This item has no description.

Protected procedure dopqexec(const asql: ansistring; const aconnection: ppgconn); overload;

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 function getblobdatasize: integer; override;

This item has no description.

Protected function getnumboolean: boolean; override;

This item has no description.

Protected procedure writeblobdata(const atransaction: tsqltransaction; const tablename: string; const acursor: tsqlcursor; const adata: pointer; const alength: integer; const afield: tfield; const aparam: tparam; out newid: string);

This item has no description.

Protected procedure setupblobdata(const afield: tfield; const acursor: tsqlcursor; const aparam: tparam);

This item has no description.

Protected procedure listen(const sender: tdbevent);

This item has no description.

Protected procedure unlisten(const sender: tdbevent);

This item has no description.

Protected procedure fire(const sender: tdbevent);

This item has no description.

Protected function getdbevent(var aname: string; var aid: int64): boolean;

This item has no description.

Protected procedure dolisten(const sender: tdbevent);

This item has no description.

Protected procedure dounlisten(const sender: tdbevent);

This item has no description.

Public constructor Create(AOwner : TComponent); override;

This item has no description.

Public destructor destroy; 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 procedure FreeFldBuffers(cursor : TSQLCursor); 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 function Fetch(cursor : TSQLCursor) : boolean; 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 function fetchblob(const cursor: tsqlcursor; const fieldnum: integer): ansistring; override;

This item has no description.

Public function backendpid: int64;

This item has no description.

Public procedure createdatabase(const asql: ansistring);

This item has no description.

Properties

Public property eventcontroller: tdbeventcontroller read feventcontroller;

This item has no description.

Public property lasterrormessage: msestring read flasterrormessage;

This item has no description.

Public property lastsqlcode: string read flastsqlcode;

This item has no description.

Published property DatabaseName;

This item has no description.

Published property KeepConnection;

This item has no description.

Published property Params;

This item has no description.

Published property ongetcredentials;

This item has no description.

Published property eventinterval: integer read geteventinterval write seteventinterval default defaultdbeventinterval;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.