| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4d29742 commit a77b1e6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1667,11 +1667,11 @@ conflict resolution handler passed to [`database.applyChangeset()`][]. See also | |||
| 1667 | 1667 | </tr> | |
| 1668 | 1668 | <tr> | |
| 1669 | 1669 | <td><code>SQLITE_CHANGESET_CONSTRAINT</code></td> | |
| 1670 | - <td>If foreign key handling is enabled, and applying a changeset leaves the database in a state containing foreign key violations, the conflict handler is invoked with this constant exactly once before the changeset is committed. If the conflict handler returns <code>SQLITE_CHANGESET_OMIT</code>, the changes, including those that caused the foreign key constraint violation, are committed. Or, if it returns <code>SQLITE_CHANGESET_ABORT</code>, the changeset is rolled back.</td> | ||
| 1670 | + <td>If any other constraint violation occurs while applying a change (i.e. a UNIQUE, CHECK or NOT NULL constraint), the conflict handler is invoked with this constant.</td> | ||
| 1671 | 1671 | </tr> | |
| 1672 | 1672 | <tr> | |
| 1673 | 1673 | <td><code>SQLITE_CHANGESET_FOREIGN_KEY</code></td> | |
| 1674 | - <td>If any other constraint violation occurs while applying a change (i.e. a UNIQUE, CHECK or NOT NULL constraint), the conflict handler is invoked with this constant.</td> | ||
| 1674 | + <td>If foreign key handling is enabled, and applying a changeset leaves the database in a state containing foreign key violations, the conflict handler is invoked with this constant exactly once before the changeset is committed. If the conflict handler returns <code>SQLITE_CHANGESET_OMIT</code>, the changes, including those that caused the foreign key constraint violation, are committed. Or, if it returns <code>SQLITE_CHANGESET_ABORT</code>, the changeset is rolled back.</td> | ||
| 1675 | 1675 | </tr> | |
| 1676 | 1676 | </table> | |
| 1677 | 1677 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments