public static interface SqlRequestCompilerStates.DBConflict<T>
The default algorithm aborts the current SQL statement with an SQLITE_CONSTRAINT error and backs out any changes made.
| Modifier and Type | Method and Description |
|---|---|
T |
failOnConflict()
When a constraint violation occurs, the command aborts with a return code SQLITE_CONSTRAINT.
|
T |
ignoreOnConflict()
When a constraint violation occurs, the one row that contains the constraint violation is not
inserted or changed.
|
T |
replaceOnConflict()
When a UNIQUE constraint violation occurs, the pre-existing rows that are causing the
constraint violation are removed prior to inserting or updating the current row.
|
@NonNull T failOnConflict()
@NonNull T ignoreOnConflict()
@NonNull T replaceOnConflict()