Sha256: 5099b64df48419987ad876a93d64ee937b51ae2306783958ae3cfdeb7af16c80

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL

  module Statements

    # Describes the 'DROP USER' CQL3 statement
    #
    class DropUser < Base

      include Modifiers::IfExists

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

    end # class DropUser

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