1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-11 08:34:59 +02:00
This commit is contained in:
David Grudl
2010-01-11 17:03:20 +01:00
parent d61bd79982
commit 9d4a887e7a
3 changed files with 21 additions and 68 deletions

View File

@@ -349,7 +349,7 @@ class DibiSqlite3Driver extends DibiObject implements IDibiDriver
{
$count = $this->resultSet->numColumns();
$res = array();
static $types = array(SQLITE3_INTEGER => 'int', SQLITE3_FLOAT => 'float', SQLITE3_TEXT => 'text', SQLITE3_BLOB => 'blob', or SQLITE3_NULL => 'null');
static $types = array(SQLITE3_INTEGER => 'int', SQLITE3_FLOAT => 'float', SQLITE3_TEXT => 'text', SQLITE3_BLOB => 'blob', SQLITE3_NULL => 'null');
for ($i = 0; $i < $count; $i++) {
$res[] = array(
'name' => $this->resultSet->columnName($i),