Alright. Thanks for you quick help. :)
2013/1/22 Jason Wee <[email protected]>: > maybe typo or forget to update the doc... but anyway, you can use the help > command when you are in cqlsh.. for example: > > cqlsh> HELP CREATE_KEYSPACE; > > CREATE KEYSPACE <ksname> > WITH replication = {'class':'<strategy>' [,'<option>':<val>]}; > > > > On Tue, Jan 22, 2013 at 8:06 PM, Paul van Hoven > <[email protected]> wrote: >> >> Okay, that worked. Why is the statement from the tutorial wrong. I >> mean, why would a company like datastax post somthing like this? >> >> 2013/1/22 Jason Wee <[email protected]>: >> > cqlsh> CREATE KEYSPACE demodb WITH replication = {'class': >> > 'SimpleStrategy', >> > 'replication_factor': 3}; >> > cqlsh> use demodb; >> > cqlsh:demodb> >> > >> > >> > On Tue, Jan 22, 2013 at 7:04 PM, Paul van Hoven >> > <[email protected]> wrote: >> >> >> >> CREATE KEYSPACE demodb WITH strategy_class = 'SimpleStrategy' >> >> AND strategy_options:replication_factor='1'; >> > >> > >> > > >
