(data->bins data)(data->bins data omit-nil-bins? require-value?)Function to identify whether data will be stored as a single or multiple bin record.
Only Clojure maps will default to multiple bins. Nested data structures are supported.
A nil bin value removes the bin. With omit-nil-bins? (REPLACE writes, where the server rejects
bin deletes) nil bins are left out of the write instead. With require-value? (REPLACE and
CREATE_ONLY writes) a map whose bins are all nil throws. nil data always throws.
Function to identify whether `data` will be stored as a single or multiple bin record. Only Clojure maps will default to multiple bins. Nested data structures are supported. A `nil` bin value removes the bin. With `omit-nil-bins?` (REPLACE writes, where the server rejects bin deletes) `nil` bins are left out of the write instead. With `require-value?` (REPLACE and CREATE_ONLY writes) a map whose bins are all `nil` throws. `nil` data always throws.
(data->write-bins data action)data as bins for a write whose RecordExistsAction is action, with the nil rules of data->bins.
`data` as bins for a write whose `RecordExistsAction` is `action`, with the `nil` rules of `data->bins`.
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 |