73 |
|
{$IFEND} |
74 |
|
{$ENDIF} |
75 |
|
|
76 |
+ |
{$IFNDEF LEGACYFIREBIRDAPIONLY} |
77 |
|
{$DEFINE USEFIREBIRD3API} |
78 |
+ |
{$ENDIF} |
79 |
+ |
{$IFNDEF FIREBIRD3APIONLY} |
80 |
|
{$DEFINE USELEGACYFIREBIRDAPI} |
81 |
+ |
{$ENDIF} |
82 |
|
|
83 |
|
{ |
84 |
|
This unit defines the interfaces used to provide the Pascal Language |
135 |
|
{Interface version information} |
136 |
|
FBIntf_Major = 1; |
137 |
|
FBIntf_Minor = 1; |
138 |
< |
FBIntf_Release = 3; |
139 |
< |
FBIntf_Version = '1.1.3'; |
138 |
> |
FBIntf_Release = 5; |
139 |
> |
FBIntf_Version = '1.1.5'; |
140 |
|
|
141 |
|
{These include files are converted from the 'C' originals in the Firebird API |
142 |
|
and define the various constants used by the API} |
411 |
|
the output of an SQL Statement. |
412 |
|
} |
413 |
|
|
414 |
+ |
TIBDateTimeFormats = (dfTimestamp, {SQL TIMESTAMP} |
415 |
+ |
dfDateTime, {SQL DATETIME} |
416 |
+ |
dfTime); {SQL TIME} |
417 |
+ |
|
418 |
|
{ IColumnMetaData } |
419 |
|
|
420 |
|
IColumnMetaData = interface |
435 |
|
function GetSize: cardinal; |
436 |
|
function GetArrayMetaData: IArrayMetaData; {Valid only for Array SQL Type} |
437 |
|
function GetBlobMetaData: IBlobMetaData; {Valid only for Blob SQL Type} |
438 |
+ |
function GetDateTimeStrLength(DateTimeFormat: TIBDateTimeFormats): integer; |
439 |
|
property Name: AnsiString read GetName; |
440 |
|
property Size: cardinal read GetSize; |
441 |
|
property SQLType: cardinal read GetSQLType; |
643 |
|
function getSQLParam(index: integer): ISQLParam; |
644 |
|
function ByName(Idx: AnsiString): ISQLParam ; |
645 |
|
function GetModified: Boolean; |
646 |
+ |
function GetHasCaseSensitiveParams: Boolean; |
647 |
|
property Modified: Boolean read GetModified; |
648 |
|
property Params[index: integer]: ISQLParam read getSQLParam; default; |
649 |
|
property Count: integer read getCount; |
921 |
|
function Prepare(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer): IStatement; overload; |
922 |
|
function Prepare(transaction: ITransaction; sql: AnsiString): IStatement; overload; |
923 |
|
function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString; |
924 |
< |
aSQLDialect: integer; GenerateParamNames: boolean=false): IStatement; overload; |
924 |
> |
aSQLDialect: integer; GenerateParamNames: boolean=false; |
925 |
> |
CaseSensitiveParams: boolean = false): IStatement; overload; |
926 |
|
function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString; |
927 |
< |
GenerateParamNames: boolean=false): IStatement; overload; |
927 |
> |
GenerateParamNames: boolean=false; |
928 |
> |
CaseSensitiveParams: boolean = false): IStatement; overload; |
929 |
|
|
930 |
|
{Events} |
931 |
|
function GetEventHandler(Events: TStrings): IEvents; overload; |
960 |
|
function GetSecurityDatabase: AnsiString; |
961 |
|
function GetODSMajorVersion: integer; |
962 |
|
function GetODSMinorVersion: integer; |
963 |
+ |
procedure getFBVersion(version: TStrings); |
964 |
|
function HasActivity: boolean; |
965 |
|
|
966 |
|
{Character Sets} |