sqlite issue
with this
$database = new medoo([ 'database_type' => 'sqlite', 'database_file' => 'nwys.sqlite', 'option' => '' ]); var_dump($database->error());
I get this array(3) { [0]=> string(5) "00000" [1]=> int(1) [2]=> string(24) "near "SET": syntax error" } array(0) { }
any idea where the syntax error comes from ?
Thx, Gerd
I tested with stable 0.8.8
I can confirm this issue and will go deeper now.
error is line 90ff; given is empty array(0) {} PHP Warning: PDO::__construct() expects parameter 2 to be string, array given in [...]
Sample in documentation is also buggy, http://medoo.in/api/new
Since I'm not using sqlite maybe angel can debug here?