Sha256: ba1400654fb7bb505c1cf0ffe8809626e517934fbaf9cab695e12f072d8f037f

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL

  module Statements

    # Describes the 'ALTER KEYSPACE' CQL3 statement
    #
    class AlterKeyspace < Base

      include Modifiers::With

      # Builds the statement
      #
      # @return [String]
      #
      def to_s
        cql["ALTER KEYSPACE", context.to_s, maybe_with]
      end

    end # class AlterKeyspace

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