cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Ezquerro <j...@sofistic.net>
Subject Re: CQL logical operator: OR
Date Mon, 20 Aug 2012 15:50:06 GMT
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 <mrpmorris@gmail.com>

> select * from Users where UserName='me' or EmailAddress='me@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.
>
>
>


-- 
Juan Ezquerro LLanes <Sofistic Team>

Telf: 618349107/964051479

Mime
View raw message