Builder::scopes()

mixed scopes(array $scopes) Add the given scopes to the current builder instance. Parameters array $scopes Return Value mixed

Builder::rightJoinWhere()

Builder|Builder rightJoinWhere(string $table, string $one, string $operator, string $two) Add a "right join where" clause to the query. Parameters string $table string $one string $operator string $two Return Value Builder|Builder

Builder::rightJoin()

Builder|Builder rightJoin(string $table, string $first, string $operator = null, string $second = null) Add a right join to the query. Parameters string $table string $first string $operator string $second Return Value Builder|Builder

Builder::rename()

void rename(string $from, string $to) Rename a table on the schema. Parameters string $from string $to Return Value void

Builder::removedScopes()

array removedScopes() Get an array of global scopes that were removed from the query. Return Value array

Builder::raw()

Expression raw(mixed $value) Create a raw database expression. Parameters mixed $value Return Value Expression

Builder::pluck()

Collection pluck(string $column, string|null $key = null) Get an array with the values of a given column. Parameters string $column string|null $key Return Value Collection

Builder::pluck()

Collection pluck(string $column, string|null $key = null) Get an array with the values of a given column. Parameters string $column string|null $key Return Value Collection

Builder::paginate()

LengthAwarePaginator paginate(int $perPage = 15, array $columns = array('*'), string $pageName = 'page', int|null $page = null) Paginate the given query into a simple paginator. Parameters int $perPage array $columns string $pageName int|null $page Return Value LengthAwarePaginator

Builder::paginate()

LengthAwarePaginator paginate(int $perPage = null, array $columns = array('*'), string $pageName = 'page', int|null $page = null) Paginate the given query. Parameters int $perPage array $columns string $pageName int|null $page Return Value LengthAwarePaginator Exceptions InvalidArgumentException