Sha256: 744faf1b14cbf2edce8b4a96d8c1f6fc389a29f2927026a4fa5e19435f672caa

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL

  module Statements

    # Describes the 'DROP INDEX' CQL3 statement
    #
    class DropIndex < Base

      include Modifiers::IfExists

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

    end # class DropIndex

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