command cdb_syncEvery pInputA


Summary

This command will sync all records in a specified table in one direction between cloud and local.

Inputs

Additional Requirements

API Version

Examples

 local tInputA

#Table name: clients
#Source: cloud or local
#PreserveTarget: true or false

put "clients" into tInputA["cdbTableName"]
put "cloud" into tInputA["settings"]["source"]
put true into tInputA["settings"]["preserveTarget"]

cdb_syncEvery tInputA

# Local database will now have all records of cloud database (but will not delete records that only exist locally.)