create keyspace ks1 WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 3};
use ks1;
create table tbl1 (id int primary key, val text);
--this will fail
insert into tbl1 (id, val) VALUES (1, 'aaa') IF NOT EXISTS;
create keyspace ks2 WITH replication = {'class': 'SimpleStrategy', 'replication_factor' : 1};
use ks2;
create table tbl2 (id int primary key, val text);
--this will NOT fail
insert into tbl2 (id, val) VALUES (1, 'aaa') IF NOT EXISTS;
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs-driver-u...@lists.datastax.com.