Interface ReactiveUpsertOperation

All Known Subinterfaces:
FluentR2dbcOperations, R2dbcEntityOperations
All Known Implementing Classes:
R2dbcEntityTemplate

public interface ReactiveUpsertOperation
The ReactiveUpsertOperation interface allows creation and execution of UPSERT (insert-or-update) operations in a fluent API style.

By default, the table to operate on is derived from the initial domainType and can be defined there via Table annotation. Using inTable allows overriding the table name for the execution.

Note: Upserts currently do not support optimistic locking.

    
        upsert(Jedi.class)
            .inTable("star_wars")
            .using(luke);
    
Since:
4.1
Author:
Christoph Strobl