module Card::Query::CardQuery::Custom

for query attributes requiring custom handling

Public Instance Methods

compound(val) click to toggle source
# File lib/card/query/card_query/custom.rb, line 6
def compound val
  add_condition "left_id IS #{'NOT' if val} NULL"
end