Method: Cequel::Metal::Row#ttl

Defined in:
lib/cequel/metal/row.rb

#ttl(column) ⇒ Integer

Get the TTL (time-to-live) of a column

Parameters:

  • column (Symbol)

    column name

Returns:

  • (Integer)

    TTL of column in seconds

Since:

  • 1.0.0



49
50
51
# File 'lib/cequel/metal/row.rb', line 49

def ttl(column)
  @ttls[column]
end