From d1a3b8bf48718ea409e6b5be60ce814e80998852 Mon Sep 17 00:00:00 2001 From: Yevgeni Tsodikov Date: Sun, 14 Jan 2024 16:46:10 +0200 Subject: [PATCH] Update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 1959e41..383169b 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,17 @@ user=> @(aero/get-single c "index" "set-name") Aerospike returns a TTL on the queried records that is epoch style, but with a different "beginning of time" which is "2010-01-01T00:00:00Z". Call `expiry-unix` with the returned TTL to get a TTL relative to the UNIX epoch. +### Using the `AerospikeBatchOps` protocol + +Since library version `4.0.0`, the implementation of the `AerospikeBatchOps` protocol is available as an extension to +the `aerospike-clj.client` namespace. +The extension is available via the `aerospike-clj.batch-client` namespace. +To use it, require the `aerospike-clj.batch-client` namespace. +The implementation of the `AerospikeBatchOps` protocol is implemented in a separate namespace to allow older versions of +the `com.aerospike/aerospike-client` dependency to be used. +Please note that the `aerospike-clj.batch-client` namespace requires the `com.aerospike/aerospike-client` dependency to +be version `6.0.0` or higher. + ## Testing ### Unit tests Executed via running `lein test`.