Sha256: 03a3a6d21a51ea3b6a02b317a1d527cc382c2263ae9405039f96739d8ea80b73
Contents?: true
Size: 355 Bytes
Versions: 9
Compression:
Stored size: 355 Bytes
Contents
module Cassanity module ArgumentGenerators class ColumnFamilyDrop # Internal def call(args = {}) name = args.fetch(:column_family_name) if (keyspace_name = args[:keyspace_name]) name = "#{keyspace_name}.#{name}" end cql = "DROP COLUMNFAMILY #{name}" [cql] end end end end
Version data entries
9 entries across 9 versions & 1 rubygems