Unique
class Unique (View source)
Methods
void __construct(string $table, string $column = 'NULL') Create a new unique 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.