Fuel Documentation

Query Building

Note: At the time of writing the query builder classes are reworked so they can handle multiple sql dialects.

The abstraction of writing SQL for database queries is done by the Query Builder. The query builder consists a set of classes, each handling a specific part of the query building process.

Using the query builder is will go unnoticed most of the times as the DB class provides shortcuts for creating new query builder objects. In half of all the methods available in the DB class new a query builder instance is returned.

Here are the classes that query builder consists of: