incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Druon <sdr...@spotuse.com>
Subject Re: CQL where clause and "OR"
Date Fri, 06 May 2011 06:31:58 GMT
Thanks Jonathan

Is there any documentation on "IN"?

On 2 May 2011 15:34, Jonathan Ellis <jbellis@gmail.com> wrote:

> OR will not be supported for a while yet, however IN support is in
> trunk and will be in 0.8.1 (but not 0.8.0).
>
> On Mon, May 2, 2011 at 5:10 AM, Miguel Auso <miguel.auso@groupalia.com>
> wrote:
> > hi!,
> > It`s posible
> > for exemple:
> > select * from aw_advancednewsletter_subscriptions where id='1' OR id='3';
> >
> >
> > Un Saludo
> > Miguel Ángel Ausó
> >
> >
> > 2011/5/2 Sébastien Druon <sdruon@spotuse.com>
> >>
> >> Hi!
> >> Is it possible to use an "OR" operator in the "WHERE" clause of a
> "SELECT"
> >> statement? I do not find any documentation on that
> >> i.e.
> >> SELECT name1 FROM cf1 WHERE name1=value1 OR name1=value2
> >> Thanks a lot in advance
> >> Sébastien Druon
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>

Mime
View raw message