Liking cljdoc? Tell your friends :D

oc.lib.dynamo.common


maybe-enable-ttlclj

(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.
sourceraw docstring

ttl-epochclj

(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.
sourceraw docstring

ttl-nowclj

(ttl-now)

Return the current time in epoch.

Return the current time in epoch.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close