SQLite specific class

Extends PDO to simplify cross-database issues
package Query
subpackage Drivers

 Methods

Open SQLite Database

__construct(string $dsn, string $user, string $pass) 

Parameters

$dsn

string

$user

string

$pass

string

List system tables for the current database

get_system_tables() : array

Returns

array

List tables for the current database

get_tables() : mixed

Returns

mixed

Create sql for batch insert

insert_batch(string $table, array $data) : string

Parameters

$table

string

$data

array

Returns

string

Load a database for the current connection

load_database(string $db, string $name) 

Parameters

$db

string

$name

string

Empty a table

truncate(string $table) 

Parameters

$table

string

Unload a database from the current connection

unload_database(string $name) 

Parameters

$name

string

 Properties

 

Reference to the last executed sql query

$statement : \PDOStatement