Sha256: 6074253cf97838ca9187f681ed5b0b05bc7ac7834e8c9a52f7cb2ee9581e0491

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL

  module Statements

    # Describes the 'DROP TYPE' CQL3 statement
    #
    class DropType < Base

      include Modifiers::IfExists

      # Builds the statement
      #
      # @return [String]
      #
      def to_s
        cql["DROP TYPE", maybe_if, context.to_s]
      end

    end # class DropType

  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_type.rb
query_builder-0.0.3 lib/query_builder/cql/statements/drop_type.rb
query_builder-0.0.2 lib/query_builder/cql/statements/drop_type.rb
query_builder-0.0.1 lib/query_builder/cql/statements/drop_type.rb