Liking cljdoc? Tell your friends :D

aerospike-clj.bins


data->binsclj

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

data->write-binsclj

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

set-bin-as-nullclj

(set-bin-as-null bin-name)
source

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