where(opts = :chain, *rest)
Instance Public methods
Returns a new relation, which is the result of filtering the current
relation according to the conditions in the arguments.
where accepts conditions in
one of several formats. In the examples below, the resulting SQL is given
as an illustration; the actual query generated may be different depending
on the database adapter.
string
A single string, without additional arguments, is
passed to the query constructor as an SQL fragment,