Re: how to make unique coloumns in cassandra

2015-03-01 Thread Rahul Srivastava
but what if i want to fetch the value using on table then this idea might fail On Mon, Mar 2, 2015 at 12:46 PM, Ajaya Agrawal wrote: > Make a table for each of the unique keys. For e.g. > > If primary key for user table is user_id and you want the phone number > column to be unique then create a

using or in select query in cassandra

2015-03-01 Thread Rahul Srivastava
Hi I want to make uniqueness for my data so i need to add OR clause in my WHERE clause. ex: select * from table where id =123 OR name ='abc' so in above i want that i get data if my id is 123 or my name is abc . is there any possibility in cassandra to achieve this .