Sha256: 382fbe862725eac67c09f4898dc80c3cec7c0c10e6afc0815ee164a684ac622e
Contents?: true
Size: 464 Bytes
Versions: 4
Compression:
Stored size: 464 Bytes
Contents
# encoding: utf-8 describe "CREATE TYPE" do include QueryBuilder::CQL::Operators let(:type) { QueryBuilder::CQL.keyspace(:wildlife).type(:species) } it_behaves_like :query_builder do subject do type.create .add(:name, :text) .add(:params, cql_map[:text, :text]) .if_not_exists end let(:cql) { "CREATE TYPE IF NOT EXISTS wildlife.species (name text, params MAP<text, text>);" } end end # describe CREATE TYPE
Version data entries
4 entries across 4 versions & 1 rubygems