Class: Ronin::Code::SQL::Expr

Inherits:
Object
  • Object
show all
Includes:
Emittable
Defined in:
lib/ronin/code/sql/expr.rb

Direct Known Subclasses

Between, BinaryExpr, Field, Function, In, Like, Statement, UnaryExpr

Instance Method Summary collapse

Instance Method Details

#===(*range) ⇒ Object



36
37
38
# File 'lib/ronin/code/sql/expr.rb', line 36

def ===(*range)
  in?(*range)
end

#in?(*range) ⇒ Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/ronin/code/sql/expr.rb', line 32

def in?(*range)
  In.new(self,*range)
end

#not_in?(*range) ⇒ Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/ronin/code/sql/expr.rb', line 40

def not_in?(*range)
  in?(*range).not!
end