[jOOQ/jOOQ#8596] Add MySQL support for onConflictOnConstraint()
Add `MYSQL` to `@Support` annotation on `InsertOnDuplicateStep#onConflictOnConstraint()`, since this is consistent with `InsertQuery#onConflictOnConstraint()` and supported for the `doNothing()` step.
This commit is contained in:
parent
928124a5cf
commit
a103670197
@ -97,13 +97,13 @@ public interface InsertOnDuplicateStep<R extends Record> extends InsertReturning
|
||||
/**
|
||||
* Add a <code>ON CONFLICT ON CONSTRAINT</code> clause to this INSERT statement.
|
||||
*/
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, POSTGRES })
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, MYSQL, POSTGRES })
|
||||
InsertOnConflictDoUpdateStep<R> onConflictOnConstraint(Constraint constraint);
|
||||
|
||||
/**
|
||||
* Add a <code>ON CONFLICT ON CONSTRAINT</code> clause to this INSERT statement.
|
||||
*/
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, POSTGRES })
|
||||
@Support({ CUBRID, DERBY, FIREBIRD, HSQLDB, MYSQL, POSTGRES })
|
||||
InsertOnConflictDoUpdateStep<R> onConflictOnConstraint(Name constraint);
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user