Methods
Get the 'average' keyword
avg() : string
Inherited
inherited_from |
\DB_SQL::avg() |
Returns
string
Convenience public function to create a new table
create_table($names, array $columns, array $constraints, array $indexes) : string
Parameters
$names
$columns
array
//columns as straight array and/or column => type pairs
$constraints
array
// column => constraint pairs
$indexes
array
// column => index pairs
Returns
string
Returns sql to list other databases
db_list() : string
Inherited
inherited_from |
\DB_SQL::db_list() |
Returns
string
SQL to drop the specified table
delete_table(string $name) : string
Parameters
$name
string
Returns
string
Get the 'distinct' keyword
distinct() : string
Inherited
inherited_from |
\DB_SQL::distinct() |
Returns
string
Return sql to list functions
function_list() : FALSE
Inherited
inherited_from |
\DB_SQL::function_list() |
Returns
FALSE
Limit clause
limit(string $sql, int $limit, int $offset) : string
Parameters
$sql
string
$limit
int
$offset
int
Returns
string
Get the max keyword sql
max() : string
Inherited
inherited_from |
\DB_SQL::max() |
Returns
string
Get the min keyword sql
min() : string
Inherited
inherited_from |
\DB_SQL::min() |
Returns
string
Return sql to list stored procedures
procedure_list() : string
Inherited
inherited_from |
\DB_SQL::procedure_list() |
Returns
string
Random ordering keyword
random() : string
Return sql to list sequences
sequence_list() : string
Inherited
inherited_from |
\DB_SQL::sequence_list() |
Returns
string
Get the 'sum' keyword
sum() : string
Inherited
inherited_from |
\DB_SQL::sum() |
Returns
string
Returns sql to list system tables
system_table_list() : string
Inherited
inherited_from |
\DB_SQL::system_table_list() |
Returns
string
Returns sql to list tables
table_list() : string
Inherited
inherited_from |
\DB_SQL::table_list() |
Returns
string
Returns sql to list triggers
trigger_list() : string
Inherited
inherited_from |
\DB_SQL::trigger_list() |
Returns
string
Returns sql to list views
view_list() : string
Inherited
inherited_from |
\DB_SQL::view_list() |
Returns
string