Go to the source code of this file.
Functions | |
CheckSQLiteError (IZSQLitePlainDriver PlainDriver, Integer ErrorCode, PChar ErrorMessage, TZLoggingCategory LogCategory, string LogMessage) | |
Checks for possible sql errors. | |
TZSQLType | ConvertSQLiteTypeToSQLType (string TypeName, Integer &Precision, Integer &Decimals) |
Convert string SQLite field type to SQLType. | |
string | DecodeString (string Value) |
Converts an string from escape PostgreSQL format. | |
string | EncodeString (string Value) |
Converts an string into escape PostgreSQL format. |
CheckSQLiteError | ( | IZSQLitePlainDriver | PlainDriver, | |
Integer | ErrorCode, | |||
PChar | ErrorMessage, | |||
TZLoggingCategory | LogCategory, | |||
string | LogMessage | |||
) |
Checks for possible sql errors.
PlainDriver | a SQLite plain driver. | |
ErrorCode | an error code. | |
ErrorMessage | an error message. | |
LogCategory | a logging category. | |
LogMessage | a logging message. |
Definition at line 227 of file ZDbcSqLiteUtils.pas.
Referenced by TZSQLiteDriver::GetSupportedProtocols().
TZSQLType ConvertSQLiteTypeToSQLType | ( | string | TypeName, | |
Integer & | Precision, | |||
Integer & | Decimals | |||
) |
Convert string SQLite field type to SQLType.
string | field type value | |
Precision | the column precision or size | |
Decimals | the column position after decimal point |
Definition at line 126 of file ZDbcSqLiteUtils.pas.
References stInteger.
string DecodeString | ( | string | Value | ) |
Converts an string from escape PostgreSQL format.
Value | a string in PostgreSQL escape format. |
string EncodeString | ( | string | Value | ) |
Converts an string into escape PostgreSQL format.
Value | a regular string. |