Module: Predicate::Exists

Includes:
Expr
Defined in:
lib/bmg/sql/ext/predicate/exists.rb

Instance Method Summary collapse

Methods included from Expr

#to_sql_literal

Instance Method Details

#to_sql(buffer, dialect) ⇒ Object



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

def to_sql(buffer, dialect)
  buffer << Sql::Expr::EXISTS
  last.to_sql(buffer, dialect)
  buffer
end