apply_changeset

Function apply_changeset 

Source
pub unsafe fn apply_changeset<F>(
    db: *mut sqlite3,
    changeset: &Changeset,
    conflict_handler: F,
) -> Result<(), i32>
Expand description

Apply a changeset to a database connection with a simple conflict handler.

The handler receives only the conflict type (no column value access). For production use, prefer apply_changeset_with_context.

ยงSafety

db must be a valid, open sqlite3 connection pointer.