Methods

Reset the current builder status.

reset() : \Fuel\Core\Database_Query_Builder

fluent This method is part of a fluent interface and will return the same instance

Returns

Compiles an array of conditions into an SQL partial.

_compile_conditions(\Database_Connection $db, array $conditions) : string

Used for WHERE and HAVING.

Parameters

$db

object

Database instance

$conditions

array

condition statements

Returns

string

Compiles an array of JOIN statements into an SQL partial.

_compile_join(\Database_Connection $db, array $joins) : string

Parameters

$db

object

Database instance

$joins

array

join statements

Returns

string

Compiles an array of ORDER BY statements into an SQL partial.

_compile_order_by(\Database_Connection $db, array $columns) : string

Parameters

$db

object

Database instance

$columns

array

sorting columns

Returns

string

Compiles an array of set values into an SQL partial.

_compile_set(\Database_Connection $db, array $values) : string

Used for UPDATE.

Parameters

$db

object

Database instance

$values

array

updated values

Returns

string