<?php
+if (!class_exists('Db')) {
+ echo "Hi there! I'm just a plugin, not much I can do when called directly.\n";
+ exit;
+}
$DB_TYPES['sqlite'] = array (
'exec' => 'PRAGMA encoding = "'.strtoupper(Db::$encoding).'"',
'use_path' => true,
'table.sql' => 'SELECT sql FROM sqlite_master WHERE name=\'<NAME>\'',
'table.truncate' => 'DELETE FROM \'<NAME>\'',
+'table.csv.load' => ['.mode csv','.sep \\t','.import <FILE> <NAME>'],
'sqliteCreateFunction' => array (
'ip2int' => function ($value) { return ip2long($value); },