cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Morris <mrpmor...@gmail.com>
Subject CQL logical operator: OR
Date Mon, 20 Aug 2012 15:42:36 GMT
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.

Mime
View raw message