(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.
(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.(encode-for-index attr v)Encode a value for index lookups.
Encode a value for index lookups.
(offloaded-storage? attr)(validate-for-index! attr v)make side-effecty calls for throws more obvious.
make side-effecty calls for throws more obvious.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |