mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 06:24:53 +00:00
more binding types (all strings in SQLite)
This commit is contained in:
parent
7a66b28310
commit
84675bc404
1 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,11 @@ class StatementSQLite3 implements Statement {
|
||||||
case "real":
|
case "real":
|
||||||
case "numeric":
|
case "numeric":
|
||||||
$this->types[] = \SQLITE3_FLOAT; break;
|
$this->types[] = \SQLITE3_FLOAT; break;
|
||||||
|
case "date":
|
||||||
|
case "time":
|
||||||
|
case "datetime":
|
||||||
|
case "timestamp":
|
||||||
|
$this->types[] = \SQLITE3_TEXT; break;
|
||||||
case "blob":
|
case "blob":
|
||||||
case "bin":
|
case "bin":
|
||||||
case "binary":
|
case "binary":
|
||||||
|
@ -26,7 +31,6 @@ class StatementSQLite3 implements Statement {
|
||||||
case "text":
|
case "text":
|
||||||
case "string":
|
case "string":
|
||||||
case "str":
|
case "str":
|
||||||
$this->types[] = \SQLITE3_TEXT; break;
|
|
||||||
default:
|
default:
|
||||||
$this->types[] = \SQLITE3_TEXT; break;
|
$this->types[] = \SQLITE3_TEXT; break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue