'default' => array( 'type' => 'pdo', 'connection' => array( 'persistent' => false, 'database' => 'fueltest' ), 'identifier' => '`', 'table_prefix' => '', 'charset' => 'utf8', 'caching' => false, 'profiling' => false, ),
$values = array( 'import_id' => $import_id, 'filename' => $file ); $result = \DB::insert('imports', array_keys($values))->values($values)->execute(); // or $result = \DB::insert('imports')->set($values)->execute();
It looks like you're new here. If you want to get involved, click one of these buttons!