cql - TTL field for a set of columns in CQL3 - Cassandra -


consider following insert statement.

    insert nerdmovies (movie, director, main_actor, year)                     values ('serenity', 'joss whedon', 'nathan fillion', 2005)     using ttl 86400; 

does ttl field specify time live whole set of columns particular primary key or 1 particular column. because want specify ttl whole set of columns should deleted after ttl expires.

ok, figured out self. sets ttl whole set of columns. so, columns particular primary key deleted once ttl expires.


Comments

Popular posts from this blog

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -