On Wednesday, October 3, 2012 2:10:49 PM UTC-7, David Lee wrote: > Thanks, I guess I can do this: > > > db[:people].where(Sequel::SQL::BooleanExpression.new(operator, column, > value)) > > > How would it work for unary operators, like NOT NULL?
Only 2 arguments instead of 3. > > > Also, is explicit usage of Sequel::SQL::BooleanExpression a supported public > API (same guarantees of backwards compatibility)? Yes. This API hasn't changed since it was introduced in 2.0, and won't change even in Sequel 4. Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/sequel-talk/-/Mh5H0LNTbmkJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
