SQLite specific class

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

 Methods

Open SQLite Database

__construct(string $dsn, string $user = NULL, string $pass = NULL, array $driver_options = array()

Parameters

$dsn

string

$user

string

$pass

string

$driver_options

array

List system tables for the current database

get_system_tables() : string[]

Returns

string[]

List tables for the current database

get_tables() : mixed

Returns

mixed

Create sql for batch insert

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

Parameters

$table

string

$data

array

Returns

string

Empty a table

truncate(string $table) 

Parameters

$table

string

 Properties

 

Reference to the last executed sql query

$statement : \Query\Driver\PDOStatement

Default