db_select

Initialize a query builder to perform a SELECT query on the database

Parameters
string $table

The table name

#
string $alias = null

The optional table alias

#
Returns
object

QueryBuilder