Builder::getColumnListing()

array getColumnListing(string $table) Get the column listing for a given table. Parameters string $table Return Value array

Builder::from()

$this from(string $table) Set the table which the query is targeting. Parameters string $table Return Value $this

Builder::forPageAfterId()

Builder|Builder forPageAfterId(int $perPage = 15, int $lastId, string $column = 'id') Constrain the query to the next "page" of results after a given ID. Parameters int $perPage int $lastId string $column Return Value Builder|Builder

Builder::forPage()

Builder|Builder forPage(int $page, int $perPage = 15) Set the limit and offset for a given page. Parameters int $page int $perPage Return Value Builder|Builder

Builder::forNestedWhere()

Builder forNestedWhere() Create a new query instance for nested where condition. Return Value Builder

Builder::forceDelete()

mixed forceDelete() Run the default delete function on the builder. Return Value mixed

Builder::firstOrNew()

Model firstOrNew(array $attributes) Get the first record matching the attributes or instantiate it. Parameters array $attributes Return Value Model

Builder::first()

stdClass|array|null first(array $columns = array('*')) Execute the query and get the first result. Parameters array $columns Return Value stdClass|array|null

Builder::firstOrCreate()

Model firstOrCreate(array $attributes, array $values = array()) Get the first record matching the attributes or create it. Parameters array $attributes array $values Return Value Model

Builder::firstOrFail()

Model|Builder firstOrFail(array $columns = array('*')) Execute the query and get the first result or throw an exception. Parameters array $columns Return Value Model|Builder Exceptions ModelNotFoundException