Fix DB\SqliteStatement for #9
For tables with no integer/boolean fields.
This commit is contained in:
parent
b12b96ccd5
commit
3bd0a4aa3b
1 changed files with 7 additions and 1 deletions
|
@ -46,7 +46,7 @@ class SqliteStatement extends AbstractStatement
|
|||
|
||||
public function getColumnsType(): array
|
||||
{
|
||||
if ($this->columnsType) {
|
||||
if (isset($this->columnsType)) {
|
||||
return $this->columnsType;
|
||||
}
|
||||
|
||||
|
@ -81,6 +81,12 @@ class SqliteStatement extends AbstractStatement
|
|||
}
|
||||
}
|
||||
|
||||
ob_start();
|
||||
$this->debugDumpParams();
|
||||
$r = ob_get_contents();
|
||||
ob_end_clean();
|
||||
error_log($r);
|
||||
|
||||
return $this->columnsType;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue