Sha256: 718c7fc2f5d07ff1f4a2eae1e8fa3c219fceef6b0f9b3b8f83c214f449c4b399

Contents?: true

Size: 234 Bytes

Versions: 66

Compression:

Stored size: 234 Bytes

Contents

class Predicate
  module Not

    def to_sql(buffer, dialect)
      buffer << Sql::Expr::NOT << Sql::Expr::LEFT_PARENTHESE
      last.to_sql(buffer, dialect)
      buffer << Sql::Expr::RIGHT_PARENTHESE
      buffer
    end

  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
bmg-0.23.3 lib/bmg/sql/ext/predicate/not.rb
bmg-0.23.2 lib/bmg/sql/ext/predicate/not.rb
bmg-0.23.1 lib/bmg/sql/ext/predicate/not.rb
bmg-0.23.0 lib/bmg/sql/ext/predicate/not.rb
bmg-0.21.5 lib/bmg/sql/ext/predicate/not.rb
bmg-0.21.4 lib/bmg/sql/ext/predicate/not.rb
bmg-0.20.5 lib/bmg/sql/ext/predicate/not.rb
bmg-0.19.3 lib/bmg/sql/ext/predicate/not.rb
bmg-0.21.3 lib/bmg/sql/ext/predicate/not.rb
bmg-0.21.2 lib/bmg/sql/ext/predicate/not.rb
bmg-0.21.0 lib/bmg/sql/ext/predicate/not.rb
bmg-0.20.4 lib/bmg/sql/ext/predicate/not.rb
bmg-0.20.2 lib/bmg/sql/ext/predicate/not.rb
bmg-0.20.1 lib/bmg/sql/ext/predicate/not.rb
bmg-0.20.0 lib/bmg/sql/ext/predicate/not.rb
bmg-0.19.2 lib/bmg/sql/ext/predicate/not.rb
bmg-0.19.1 lib/bmg/sql/ext/predicate/not.rb
bmg-0.19.0 lib/bmg/sql/ext/predicate/not.rb
bmg-0.18.15 lib/bmg/sql/ext/predicate/not.rb
bmg-0.18.14 lib/bmg/sql/ext/predicate/not.rb