(byte-array? val)
(byte-buffer? val)
(deserialize val)
(deserialize val config)
(lazy-mapcat f coll)
maps a function over a collection and lazily concatenate all the results.
maps a function over a collection and lazily concatenate all the results.
(lazy-query q)
(lazy-query q start-from)
Takes a query as a lambda function and retunrs a lazy pagination over the items
Takes a query as a lambda function and retunrs a lazy pagination over the items
(now)
(query-results->paginated-response result)
(query-results->paginated-response tf {:keys [last-evaluated-key items] :as e})
transform result of a dynamodb query to a paginated response with keys :cursor and :data. Takes an optional transformation function that will be applied to all items in the result.
transform result of a dynamodb query to a paginated response with keys :cursor and :data. Takes an optional transformation function that will be applied to all items in the result.
(rand-id)
Returns a 128 bit random id (based on UUID) in a short format. It generates a random UUID and then encodes it into base36.
Returns a 128 bit random id (based on UUID) in a short format. It generates a random UUID and then encodes it into base36.
(serialize val)
(serialize val config)
(with-default-errors f & args)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close