mirror of
https://github.com/dg/dibi.git
synced 2025-08-30 01:09:50 +02:00
- DibiDriver::format splitted into escape() & unescape()
- added DibiConnection::unescape - DibiPostgreDriver support escaping & unescaping BYTEA type
This commit is contained in:
@@ -76,16 +76,14 @@ class dibi
|
||||
*/
|
||||
const
|
||||
FIELD_TEXT = 's', // as 'string'
|
||||
FIELD_BINARY = 'S',
|
||||
FIELD_BINARY = 'bin',
|
||||
FIELD_BOOL = 'b',
|
||||
FIELD_INTEGER = 'i',
|
||||
FIELD_FLOAT = 'f',
|
||||
FIELD_DATE = 'd',
|
||||
FIELD_DATETIME = 't',
|
||||
FIELD_UNKNOWN = '?',
|
||||
|
||||
// special
|
||||
FIELD_COUNTER = 'C', // counter or autoincrement, is integer
|
||||
IDENTIFIER = 'n';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user