Liking cljdoc? Tell your friends :D

oc.lib.dynamo.common


gsi-exists-on-table?clj

(gsi-exists-on-table? dynamodb-opts index-name table-name)

Returns true if the global secondary index with the given name exists on the table named table-name, false otherwise.

Returns true if the global secondary index with the given name exists on the
table named table-name, false otherwise.
sourceraw docstring

maybe-disable-ttlclj

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

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 enabled.

Given the DynamoDB options, and a table name, enable the TTL on the table, if it is not already enabled.
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 seconds since the UNIX epoch.

Return the current time in seconds since the UNIX epoch.
sourceraw docstring

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

× close