(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 enabled.
Given the DynamoDB options, and a table name, enable the TTL on the table, if it is not already enabled.
(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 seconds since the UNIX epoch.
Return the current time in seconds since the UNIX epoch.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close