saveInBatch

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

Adds the entity save (primary + BATCH lookups) to this batch. Uses the suspend prepare path (see class doc, ISS-059 / GH #60) so a prepared-statement cache miss never blocks the calling coroutine's dispatcher thread.