public class NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet extends AbstractStatement<NativeSqlUpsertTerminal,java.lang.Integer>
EXECUTE_METHOD, EXECUTE_METHOD_NAME| Constructor and Description |
|---|
NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet(Config config,
InsertDeclaration declaration) |
| Modifier and Type | Method and Description |
|---|---|
protected Command<java.lang.Integer> |
createCommand() |
NativeSqlUpsertTerminal |
set(java.util.function.Consumer<InsertOnDuplicateKeyUpdateSetValuesDeclaration> block)
Specify the set clause for the UPSERT statement.
|
asSql, createCommenter, execute, peekpublic NativeSqlUpsertOnDuplicateKeyUpdateSelectingSet(Config config, InsertDeclaration declaration)
public NativeSqlUpsertTerminal set(java.util.function.Consumer<InsertOnDuplicateKeyUpdateSetValuesDeclaration> block)
Id properties are used for set value.block - the consumer to set the clauseprotected Command<java.lang.Integer> createCommand()
createCommand in class AbstractStatement<NativeSqlUpsertTerminal,java.lang.Integer>