Builder::blueprintResolver()

void blueprintResolver(Closure $resolver) Set the Schema Blueprint resolver callback. Parameters Closure $resolver Return Value void

Builder::avg()

mixed avg(string $column) Retrieve the average of the values of a given column. Parameters string $column Return Value mixed

Builder::average()

mixed average(string $column) Alias for the "avg" method. Parameters string $column Return Value mixed

Builder::applyScopes()

Builder|Builder applyScopes() Apply the scopes to the Eloquent builder instance and return it. Return Value Builder|Builder

Builder::aggregate()

mixed aggregate(string $function, array $columns = array('*')) Execute an aggregate function on the database. Parameters string $function array $columns Return Value mixed

Builder::addWhereExistsQuery()

$this addWhereExistsQuery(Builder $query, string $boolean = 'and', bool $not = false) Add an exists clause to the query. Parameters Builder $query string $boolean bool $not Return Value $this

Builder::addSelect()

$this addSelect(array|mixed $column) Add a new select column to the query. Parameters array|mixed $column Return Value $this

Builder::addNestedWhereQuery()

$this addNestedWhereQuery(Builder|Builder $query, string $boolean = 'and') Add another query builder as a nested where to the query builder. Parameters Builder|Builder $query string $boolean Return Value $this

Builder::addBinding()

$this addBinding(mixed $value, string $type = 'where') Add a binding to the query. Parameters mixed $value string $type Return Value $this Exceptions InvalidArgumentException

Builder

Builder class Builder (View source) Traits Macroable