Methods

Create a new [Database_Query_Builder_Delete].

delete(string $table) : \Fuel\Core\Database_Query_Builder_Delete

// DELETE FROM users $query = $db->delete('users');

Parameters

$table

string

table to delete from

Returns

List table columns

list_columns(string $table, string $like) : array

Parameters

$table

string

table name

$like

string

column name pattern

Returns

arrayarray of column structure

List tables

list_tables(string $like) 

Parameters

$like

string

Exceptions

\FuelException

Set the charset

set_charset(string $charset) 

Parameters

$charset

string

Create a new [Database_Query_Builder_Update].

update(string $table) : \Fuel\Core\Database_Query_Builder_Update

// UPDATE users $query = $db->update('users');

Parameters

$table

string

table to update

Returns