Builder::where()

$this where(string|Closure $column, string $operator = null, mixed $value = null, string $boolean = 'and') Add a basic where clause to the query. Parameters string|Closure $column string $operator mixed $value string $boolean Return Value $this

Builder::when()

Builder when(bool $value, Closure $callback, Closure $default = null) Apply the callback's query changes if the given "value" is true. Parameters bool $value Closure $callback Closure $default Return Value Builder

Builder::when()

$this when(bool $value, Closure $callback, Closure $default = null) Apply the callback's query changes if the given "value" is true. Parameters bool $value Closure $callback Closure $default Return Value $this

Builder::value()

mixed value(string $column) Get a single column's value from the first result of a query. Parameters string $column Return Value mixed

Builder::value()

mixed value(string $column) Get a single column's value from the first result of a query. Parameters string $column Return Value mixed

Builder::useWritePdo()

$this useWritePdo() Use the write pdo for query. Return Value $this

Builder::updateOrInsert()

bool updateOrInsert(array $attributes, array $values = array()) Insert or update a record matching the attributes, and fill it with values. Parameters array $attributes array $values Return Value bool

Builder::updateOrCreate()

Model updateOrCreate(array $attributes, array $values = array()) Create or update a record matching the attributes, and fill it with values. Parameters array $attributes array $values Return Value Model

Builder::update()

int update(array $values) Update a record in the database. Parameters array $values Return Value int

Builder::update()

int update(array $values) Update a record in the database. Parameters array $values Return Value int