SQLITE3CHANGEGROUP_ADD_CHANGE(3)

NAME
sqlite3changegroup_add_change - add a single change to a changegroup

SYNOPSIS
#include <sqlite3.h>
int
sqlite3changegroup_add_change(sqlite3_changegroup*, sqlite3_changeset_iter*);

DESCRIPTION
This function adds the single change currently indicated by the iterator passed as the second argument to the changegroup object. The rules for adding the change are just as described for sqlite3changegroup_add(). If the change is successfully added to the changegroup, SQLITE_OK is returned. Otherwise, an SQLite error code is returned.

The iterator must point to a valid entry when this function is called. If it does not, SQLITE_ERROR is returned and no change is added to the changegroup. Additionally, the iterator must not have been opened with the SQLITE_CHANGESETAPPLY_INVERT flag. In this case SQLITE_ERROR is also returned.

IMPLEMENTATION NOTES
These declarations were extracted from the interface documentation at line 12537.

    SQLITE_API int sqlite3changegroup_add_change(
      sqlite3_changegroup*,
      sqlite3_changeset_iter*
    );

SEE ALSO
sqlite3changegroup_add(3)