Expression

Expression class Expression (View source) Methods void __construct(mixed $value) Create a new raw query expression. mixed getValue() Get the value of the expression. string __toString() Get the value of the expression.

Exists::__toString()

string __toString() Convert the rule to a validation string. Return Value string

Exists::__construct()

void __construct(string $table, string $column = 'NULL') Create a new exists rule instance. Parameters string $table string $column Return Value void

Exists::whereNull()

$this whereNull(string $column) Set a "where null" constraint on the query. Parameters string $column Return Value $this

Exists::whereNotNull()

$this whereNotNull(string $column) Set a "where not null" constraint on the query. Parameters string $column Return Value $this

Exists::whereNot()

$this whereNot(string $column, string $value) Set a "where not" constraint on the query. Parameters string $column string $value Return Value $this

Exists::where()

$this where(string $column, string $value = null) Set a "where" constraint on the query. Parameters string $column string $value Return Value $this

Exists::using()

$this using(Closure $callback) Register a custom query callback. Parameters Closure $callback Return Value $this

Exists::queryCallbacks()

array queryCallbacks() Get the custom query callbacks for the rule. Return Value array

Exists

Exists class Exists (View source) Methods void __construct(string $table, string $column = 'NULL') Create a new exists rule instance. $this where(string $column, string $value = null) Set a "where" constraint on the query. $this whereNot(string $column, string $value) Set a "where not" constraint on the query. $this whereNull(string $column) Set a "where null" constraint on the query. $this whereNotNull(string $column) Set a "where not null" constraint on the query.