Sha256: 61e357d87447e78110ded2da2bc8835cd8d674785baa65f75e4c493976cd3705

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL

  module Statements

    # Describes the 'ALTER TABLE ... DROP' CQL3 statement
    #
    class DropColumn < Base

      # Builds the statement
      #
      # @return [String]
      #
      def to_s
        cql["ALTER TABLE", context.table.to_s, "DROP", context.name]
      end

    end # class DropColumn

  end # module Statements

end # module QueryBuilder::CQL

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
query_builder-0.0.4 lib/query_builder/cql/statements/drop_column.rb
query_builder-0.0.3 lib/query_builder/cql/statements/drop_column.rb
query_builder-0.0.2 lib/query_builder/cql/statements/drop_column.rb
query_builder-0.0.1 lib/query_builder/cql/statements/drop_column.rb