Liking cljdoc? Tell your friends :D

miladb.value


decodeclj

(decode attr v)
(decode attr v _)

Decode an encoded value using schema metadata. For offloaded string/bytes/edn attributes, callers must fetch blob bytes first.

Decode an encoded value using schema metadata.
For offloaded string/bytes/edn attributes, callers must fetch blob bytes first.
raw docstring

encodeclj

(encode attr v)
(encode attr v _)

Encode a value using schema metadata. Returns {:storage :inline|:blob :value v} and, for offloaded values, :blob-bytes with the payload callers should persist.

Encode a value using schema metadata. Returns {:storage :inline|:blob :value v}
and, for offloaded values, :blob-bytes with the payload callers should persist.
raw docstring

encode-for-indexclj

(encode-for-index attr v)

Encode a value for index lookups.

Encode a value for index lookups.
raw docstring

offloaded-storage?clj

(offloaded-storage? attr)

validate-for-index!clj

(validate-for-index! attr v)

make side-effecty calls for throws more obvious.

make side-effecty calls for throws more obvious.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close