Unit 'PQConnection' Package
[Overview][Types][Classes][Index] [#fcl-db]

TPQConnection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: pqconnection.pp line 143

type TPQConnection = class(TSQLConnection)

protected

  function GetConnectionString();

  function TranslateFldType();

  procedure ExecuteDirectPG();

  procedure GetExtendedFieldInfo();

  procedure ApplyFieldUpdate(); override;

  function ErrorOnUnknownType;

  procedure AddHandle();

  function PortParamName; override;

  procedure DoInternalConnect; override;

  procedure DoInternalDisconnect; override;

  function GetHandle; override;

  function AllocateCursorHandle; override;

  procedure DeAllocateCursorHandle(); override;

  function AllocateTransactionHandle; override;

  procedure PrepareStatement(); override;

  procedure Execute(); override;

  procedure AddFieldDefs(); override;

  function Fetch(); override;

  procedure UnPrepareStatement(); override;

  function LoadField(); override;

  function GetTransactionHandle(); override;

  function RollBack(); override;

  function Commit(); override;

  procedure CommitRetaining(); override;

  function StartImplicitTransaction(); override;

  function StartDBTransaction(); override;

  procedure RollBackRetaining(); override;

  procedure UpdateIndexDefs(); override;

  procedure LoadBlobIntoBuffer(); override;

  function RowsAffected(); override;

  function GetSchemaInfoSQL(); override;

  function GetNextValueSQL(); override;

public

  constructor Create(); override;

  destructor Destroy; override;

  function GetConnectionInfo(); override;

  procedure CreateDB; override;

  procedure DropDB; override;

published

  property DatabaseName: string;

  property KeepConnection: Boolean;

  property LoginPrompt: Boolean;

  property Params: TStrings;

  property OnLogin: TLoginEvent;

  property VerboseErrors: Boolean; [rw]

end;

Inheritance

TPQConnection

|

TSQLConnection

|

TDatabase

|

TCustomConnection

|

TObject


Documentation generated on: 2023-03-18