\Query\Driver\SQLSQLite_SQL

SQLite Specific SQL

Summary

Methods
Properties
Constants
explain()
random()
db_list()
table_list()
system_table_list()
view_list()
trigger_list()
function_list()
procedure_list()
sequence_list()
type_list()
column_list()
fk_list()
index_list()
limit()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

explain()

explain(string $sql) : string

Get the query plan for the sql query

Parameters

string $sql

Returns

string

random()

random() : string

Random ordering keyword

Returns

string

db_list()

db_list() : string

Returns sql to list other databases

Returns

string

table_list()

table_list() : string

Returns sql to list tables

Returns

string

system_table_list()

system_table_list() : array

List the system tables

Returns

array

view_list()

view_list() : string

Returns sql to list views

Returns

string

trigger_list()

trigger_list() : NULL

Returns sql to list triggers

Returns

NULL

function_list()

function_list() : NULL

Return sql to list functions

Returns

NULL

procedure_list()

procedure_list() : NULL

Return sql to list stored procedures

Returns

NULL

sequence_list()

sequence_list() : NULL

Return sql to list sequences

Returns

NULL

type_list()

type_list() : string[]

SQL to show list of field types

Returns

string[]

column_list()

column_list(string $table) : string

SQL to show infromation about columns in a table

Parameters

string $table

Returns

string

fk_list()

fk_list(string $table) : string

Get the list of foreign keys for the current table

Parameters

string $table

Returns

string

index_list()

index_list(string $table) : string

Get the list of indexes for the current table

Parameters

string $table

Returns

string

limit()

limit(string $sql, int $limit, int|bool $offset) : string

Limit clause

Parameters

string $sql
int $limit
int|bool $offset

Returns

string