cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: TTL question
Date Fri, 28 Aug 2015 18:07:42 GMT
On Fri, Aug 28, 2015 at 6:27 AM, Tommy Stendahl <tommy.stendahl@ericsson.com
> wrote:

> Thx, that was the problem. When I think about it it makes sense that I
> should use update in this scenario and not insert.


Per Sylvain on an old thread :

"
INSERT and UPDATE are not totally orthogonal in CQL and you should use
INSERT for actual insertion and UPDATE for updates (granted, the database
will not reject your query if you break this rule but it's nonetheless the
way it's intended to be used).
"

=Rob

Mime
View raw message