Prostore::Query::Q
Free-standing predicate constructors so users can build expressions
outside the named-arg where shorthand. The Builder also exposes
these as instance methods for use inside the with builder block
context emitted by the query macro.
User.where(Q.or(Q.eq(:status, "active"), Q.eq(:status, "pending")))
User.where(Q.gt(:score, 100))
User.where(Q.null?(:deleted_at))
Instance methods
all(*predicates : AST::Predicate) : AST::Predicate
Sourceany(*predicates : AST::Predicate) : AST::Predicate
Sourcenot(predicate : AST::Predicate) : AST::Predicate
Source