MobiLink Synchronization Reference
Stored Procedures
Client event-hook procedures
Use this stored procedure to add custom actions immediately after each table is downloaded.
Name | Values | Description |
---|---|---|
table name (in) | table name | The table to which operations have just been applied. |
delete count (in) | number of rows | The number of rows in this table deleted by the download stream. |
upsert count (in) | number of rows | The number of rows in this table updated or inserted by the download stream. |
publication_n (in) | publication name | The publications being synchronized, where n is an integer. There is one publication_n entry for each publication being uploaded. |
MobiLink user (in) | MobiLink user name | The MobiLink user for which you are synchronizing. |
script version (in) | script version name | The MobiLink script version to be used for the synchronization. |
If a procedure of this name exists, it is called immediately after all operations in the download stream for a table have been applied.
Actions of this procedure are committed or rolled back when the download stream is committed or rolled back.
Synchronization event hook sequence