Sha256: beab4a752b26a85fc5e017ae269dcd5f7b770d08ce9c04385b5720473a5f1127

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL

  module Statements

    # Describes the 'DROP TABLE' CQL3 statement
    #
    class DropTable < Base

      include Modifiers::IfExists

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

    end # class DropTable

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