Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in medoo.php on line 944 #241
Title speaks for itself ... Using $database->getinfo() prints this ...
Btw it's weird why I can't insert anything. No errors, no nothing, everything is ok in my script, but nothing is inserted ... Using the examples:
$database = new medoo(['database_type' => 'sqlite', 'database_name' => 'test.db']);
$database->insert('metrics', [
'date' => $res['date'], //Current date
'function' => $res['function'], //Function name
'steps' => $res['steps'], //Steps passed
'time' => $res['time'], //Time taken
'memory' => $res['memory'] //Memory used
]);
Title speaks for itself ... Using $database->getinfo() prints this ...
Btw it's weird why I can't insert anything. No errors, no nothing, everything is ok in my script, but nothing is inserted ... Using the examples: $database = new medoo(['database_type' => 'sqlite', 'database_name' => 'test.db']); $database->insert('metrics', [ 'date' => $res['date'], //Current date 'function' => $res['function'], //Function name 'steps' => $res['steps'], //Steps passed 'time' => $res['time'], //Time taken 'memory' => $res['memory'] //Memory used ]);