dbsync_app.data_sync()

DB Sync synchronization procedure collecting local changes.

Syntax

FUNCTION data_sync(
      return_receipt BOOLEAN
  )
  RETURNS INTEGER
  1. return_receipt must be TRUE to indicate return receipt usage.
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 synchronize tables associated to the user.

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

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