Module: Vines::Services::VQL::Is
- Defined in:
- lib/vines/services/vql/vql.rb
Instance Method Summary collapse
Instance Method Details
#js ⇒ Object
33 34 35 |
# File 'lib/vines/services/vql/vql.rb', line 33 def js "(%s === %s)" % [lhs.js, rhs.js] end |
#params ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/vines/services/vql/vql.rb', line 44 def params case rhs when Vines::Services::VQL::Null [lhs.sql] else [lhs.sql, rhs.sql] end end |
#sql ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'lib/vines/services/vql/vql.rb', line 36 def sql case rhs when Vines::Services::VQL::Null "value is null" else "value=?" end end |