Sha256: adfc921708c2b59b152c1c0fd9c96cc547c82b138de49e29482534a4175cf37e

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 Bytes

Contents

module Alf
  module Sql
    module WhereClause
      include Expr

      WHERE = "WHERE".freeze

      def predicate
        last
      end

      def to_sql(buffer = "")
        buffer << WHERE << SPACE
        predicate.to_sql(buffer)
        buffer
      end

    end # module WhereClause
  end # module Sql
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-sql-0.16.3 lib/alf/sql/nodes/where_clause.rb
alf-sql-0.16.2 lib/alf/sql/nodes/where_clause.rb
alf-sql-0.16.1 lib/alf/sql/nodes/where_clause.rb
alf-sql-0.16.0 lib/alf/sql/nodes/where_clause.rb
alf-sql-0.15.0 lib/alf/sql/nodes/where_clause.rb