incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: CQL3 And Map Literals
Date Sun, 31 Mar 2013 10:11:22 GMT
> I am curious. Was there a specific reason why it was decided to use
> single-quotes?
ANSII SQL compatible. 
(Am offline now and cannot confirm, but years of writing SQL with single quotes makes me think
of that. )

Cheers

-----------------
Aaron Morton
Freelance Cassandra Consultant
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 29/03/2013, at 10:09 AM, Gareth Collins <gareth.o.collins@gmail.com> wrote:

> Hello,
> 
> I have been playing with map literals in CQL3 queries. I see that
> single-quotes work:
> 
> {'foo':'bar'}
> 
> but double-quotes do not:
> 
> {"foo":"bar"}
> 
> I am curious. Was there a specific reason why it was decided to use
> single-quotes?
> I ask because double-quotes would make this valid json.
> 
> thanks in advance,
> Gareth


Mime
View raw message