package |
Query |
subpackage |
Drivers |
Methods
SQL to show infromation about columns in a table
column_list(string $table) : string
Parameters
$table
string
Returns
string
Returns sql to list other databases
db_list() : string
Get the query plan for the sql query
explain(string $sql) : string
Parameters
$sql
string
Returns
string
Get the list of foreign keys for the current
table
fk_list($table) : string
Parameters
$table
Returns
string
Return sql to list functions
function_list() : string
Get the list of indexes for the current table
index_list(string $table) : array
Parameters
$table
string
Returns
array
Limit clause
limit(string $sql, int $limit, int $offset = FALSE
) : string
Parameters
$sql
string
$limit
int
$offset
int
Returns
string
Return sql to list stored procedures
procedure_list() : string
Random ordering keyword
random() : string
Return sql to list sequences
sequence_list() : NULL
Overridden in MySQL class
system_table_list() : string
Returns sql to list tables
table_list(string $database = ''
) : string
Parameters
$database
string
Returns
string
Returns sql to list triggers
trigger_list() : string
SQL to show list of field types
type_list() : string
Returns sql to list views
view_list() : string