Sha256: 9c046be16c769856d52fb94b95091a85ca087df985e20df650c970d4c516d383
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 Bytes
Contents
# encoding: utf-8 describe "ALTER TABLE ... WITH" do let(:table) { QueryBuilder::CQL.keyspace(:wildlife).table(:species) } it_behaves_like :query_builder do subject do table .alter(comment: "A most excellent and useful table") .alter(read_repair_chance: 0.2, default_time_to_live: 0) end let(:cql) { "ALTER TABLE wildlife.species WITH comment = 'A most excellent and useful table' AND read_repair_chance = 0.2 AND default_time_to_live = 0;" } end end # describe ALTER TABLE ... WITH
Version data entries
4 entries across 4 versions & 1 rubygems