dbsync_app.register_local_change()

Register dbsync change for some fields of a given local row.

Syntax

FUNCTION register_local_change(
      tabname STRING,
      columns DYNAMIC ARRAY OF STRING,
      pkeyval BIGINT
  )
  RETURNS INTEGER
  1. tabname is the name of the table.
  2. columns is the list of columns to be modified.
  3. pkeyval is the integer value of the primary key column.
Returns:
  1. The status.

Usage

The row is identified by the primary key value. There can be several UPDATE event record in the dbsync changes table.