(maybe-enable-ttl dynamodb-opts table-name & [ttl-field-name])
Given the dynamoDb options and a table name enable the TTL on the table if it is not already.
Given the dynamoDb options and a table name enable the TTL on the table if it is not already.
(ttl-epoch ttl)
Given a ttl value, make sure it's an integer to avoid errors, and return the epoch of now plus the ttl in days.
Given a ttl value, make sure it's an integer to avoid errors, and return the epoch of now plus the ttl in days.
(ttl-now)
Return the current time in epoch.
Return the current time in epoch.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close