dbsync_app.data_reset()

DB Sync synchronization reset procedure.

Syntax

FUNCTION data_reset() RETURNS INTEGER
Returns:
  1. The status.

Usage

This function is a helper function that implements all tasks to be done by a DB Sync client app to reset all local tables with a full synchronization.

The current schema must have been loaded with register_local_dbschema().

The list of tables must have been registered with register_local_tables().