\Query\Drivers\SqliteSQL

SQLite Specific SQL

Summary

Methods
Properties
Constants
limit()
explain()
random()
dbList()
tableList()
systemTableList()
viewList()
triggerList()
functionList()
procedureList()
sequenceList()
typeList()
columnList()
fkList()
indexList()
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

limit()

limit(string  $sql, integer  $limit, integer|boolean  $offset = FALSE) : string

Limit clause

Parameters

string $sql
integer $limit
integer|boolean $offset

Returns

string

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

dbList()

dbList() : string

Returns sql to list other databases

Returns

string

tableList()

tableList() : string

Returns sql to list tables

Returns

string

systemTableList()

systemTableList() : array<mixed,string>

List the system tables

Returns

array<mixed,string>

viewList()

viewList() : string

Returns sql to list views

Returns

string

triggerList()

triggerList() : string

Returns sql to list triggers

Returns

string

functionList()

functionList() : NULL

Return sql to list functions

Returns

NULL

procedureList()

procedureList() : NULL

Return sql to list stored procedures

Returns

NULL

sequenceList()

sequenceList() : NULL

Return sql to list sequences

Returns

NULL

typeList()

typeList() : array<mixed,string>

SQL to show list of field types

Returns

array<mixed,string>

columnList()

columnList(string  $table) : string

SQL to show infromation about columns in a table

Parameters

string $table

Returns

string

fkList()

fkList(string  $table) : string

Get the list of foreign keys for the current table

Parameters

string $table

Returns

string

indexList()

indexList(string  $table) : string

Get the list of indexes for the current table

Parameters

string $table

Returns

string