saveInBatchAndGet

suspend fun <T : Any> KandraSuspendRepository<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 (they are computed at collection time by BatchEngine.injectTimestamps, not deferred to commit time), instead of discarding that copy the way saveInBatch does. See KandraRepository.saveAndGet/KandraSuspendRepository.saveAndGet's doc for the underlying gap this closes for standalone save(). Note this does not inject an initial @Version value the way the standalone save()/saveAndGet() path does.