persistAndFlush

@CheckReturnValue
open fun <T : PanacheEntityBase> persistAndFlush(): Uni<T>

Persist this entity in the database, if not already persisted. This will set your ID field if it is not already set. Then flushes all pending changes to the database.

See also