mirror of
https://github.com/dg/dibi.git
synced 2025-02-22 18:02:25 +01:00
Helpers::detectType() detects VAR_STRING as Type::TEXT
This commit is contained in:
parent
4659f4550e
commit
f4638796fb
@ -183,7 +183,7 @@ class Helpers
|
||||
static $patterns = [
|
||||
'^_' => Type::TEXT, // PostgreSQL arrays
|
||||
'BYTEA|BLOB|BIN' => Type::BINARY,
|
||||
'TEXT|CHAR|POINT|INTERVAL' => Type::TEXT,
|
||||
'TEXT|CHAR|POINT|INTERVAL|STRING' => Type::TEXT,
|
||||
'YEAR|BYTE|COUNTER|SERIAL|INT|LONG|SHORT|^TINY$' => Type::INTEGER,
|
||||
'CURRENCY|REAL|MONEY|FLOAT|DOUBLE|DECIMAL|NUMERIC|NUMBER' => Type::FLOAT,
|
||||
'^TIME$' => Type::TIME,
|
||||
|
Loading…
x
Reference in New Issue
Block a user