enum ConflictResolution: string
Public API: explicitly declared with @visibility public.

The conflict resolution algorithms of SQLite.

Source: https://sqlite.org/lang_conflict.html.

Reading the algorithm of an INSERT ORdoctest
$insert = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('INSERT OR IGNORE INTO t VALUES (1)');
    $insert->statement->into->resolution // => \SqlSemantics\Platform\Sqlite\Statement\Mutation\ConflictResolution::Ignore

Cases§

case Rollback = 'ROLLBACK'
case Abort = 'ABORT'
case Fail = 'FAIL'
case Ignore = 'IGNORE'
case Replace = 'REPLACE'

Test cases 19§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 17

Relations§

Constant reads 5
Type declarations 13