saveInBatch

fun <T : Any> KandraRepository<T>.saveInBatch(entity: T, ttlSeconds: Int? = null)

Adds the entity save (primary + BATCH lookups) to this batch. Blocking — for KandraRuntime.batchBlocking only.