$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(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
$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
mixed value(string $column) Get a single column's value from the first result of a query. Parameters string $column Return Value mixed
$this useWritePdo() Use the write pdo for query. Return Value $this
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
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
int update(array $values) Update a record in the database. Parameters array $values Return Value int
Page 892 of 996