saveInBatchAndGet

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

Same as saveInBatch, but returns the entity that will be persisted when this batch commits — with any @GeneratedUuid/@CreatedAt/@UpdatedAt values already resolved. See KandraBatchScope.saveInBatchAndGet's doc (the suspend counterpart) for the underlying gap this closes.