Method: OrientSupport::OrientQuery#method_missing
- Defined in:
- lib/support/orientquery.rb
#method_missing(method, *arg, &b) ⇒ Object
where: “r > 9” –> where r > 9
where: {a: 9, b: 's'} --> where a = 9 and b = 's'
where:[{ a: 2} , 'b > 3',{ c: 'ufz' }] --> where a = 2 and b > 3 and c = 'ufz'
358 359 360 361 362 363 364 365 |
# File 'lib/support/orientquery.rb', line 358 def method_missing method, *arg, &b # :nodoc: if method ==:while || method=='while' while_s arg.first else @q[:misc] << method.to_s << generate_sql_list(arg) end self end |