Module: Card::Query::CardQuery::Custom
- Included in:
- Card::Query::CardQuery
- Defined in:
- card/lib/card/query/card_query/custom.rb
Overview
for query attributes requiring custom handling
Instance Method Summary collapse
Instance Method Details
#compound(val) ⇒ Object
6 7 8 |
# File 'card/lib/card/query/card_query/custom.rb', line 6 def compound val add_condition "left_id IS #{'NOT' if val} NULL" end |