Re: CQL logical operator: OR

2012-08-20 Thread Juan Ezquerro
Cassandra doesn't support disjunctions (OR) yet, so you'll have to do multiple queries. https://groups.google.com/forum/?fromgroups#!topic/phpcassa/Py42QgDHm3w%5B1-25%5D 2012/8/20 Peter Morris > select * from Users where UserName='me' or EmailAddress='m...@home.com'; > Bad Request: line 1:40 mi

CQL logical operator: OR

2012-08-20 Thread Peter Morris
select * from Users where UserName='me' or EmailAddress='m...@home.com'; Bad Request: line 1:40 mismatched input 'or' expecting EOF Could someone tell me how to use OR conditions in CQL? I am able to find examples of AND, but none for OR and it doesn't seem to work.