Builder::sharedLock()

Builder sharedLock() Share lock the selected rows in the table. Return Value Builder

Builder::setQuery()

$this setQuery(Builder $query) Set the underlying query builder instance. Parameters Builder $query Return Value $this

Builder::simplePaginate()

Paginator simplePaginate(int $perPage = null, 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 Paginator

Builder::setBindings()

$this setBindings(array $bindings, string $type = 'where') Set the bindings on the query builder. Parameters array $bindings string $type Return Value $this Exceptions InvalidArgumentException

Builder::setEagerLoads()

$this setEagerLoads(array $eagerLoad) Set the relationships being eagerly loaded. Parameters array $eagerLoad Return Value $this

Builder::setConnection()

$this setConnection(Connection $connection) Set the database connection instance. Parameters Connection $connection Return Value $this

Builder::setModel()

$this setModel(Model $model) Set a model instance for the model being queried. Parameters Model $model Return Value $this

Builder::selectRaw()

Builder|Builder selectRaw(string $expression, array $bindings = array()) Add a new "raw" select expression to the query. Parameters string $expression array $bindings Return Value Builder|Builder

Builder::selectSub()

Builder|Builder selectSub(Closure|Builder|string $query, string $as) Add a subselect expression to the query. Parameters Closure|Builder|string $query string $as Return Value Builder|Builder Exceptions InvalidArgumentException

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