Module: Predicate::DyadicComp

Defined in:
lib/bmg/sql/ext/predicate/dyadic_comp.rb

Instance Method Summary collapse

Instance Method Details

#to_sql(buffer, dialect) ⇒ Object



4
5
6
7
8
9
# File 'lib/bmg/sql/ext/predicate/dyadic_comp.rb', line 4

def to_sql(buffer, dialect)
  left.to_sql(buffer, dialect)
  buffer << Sql::Expr::SPACE << to_sql_operator << Sql::Expr::SPACE
  right.to_sql(buffer, dialect)
  buffer
end