dbsync_core.read_dbsync_source_file()

Load the client source file with parameters.

Syntax

FUNCITON read_dbsync_source_file(
      filename STRING,
      dbsync_source t_dbsync_source
  )
  RETURNS INTEGER
  1. filename is the path to the JSON file with source parameters.
  2. dbsync_source is the record that will be initialized with source parameters.

Usage

The read_dbsync_source() function can be used to load a DB Sync client app configuration file.

When filled with parameter values, the record variable must be passed to the dbsync_app.register_dbsync_source() function.