You are not logged in.
Hi,
How to implement a client side synchronization with TSynRestDataset as described here https://synopse.info/files/html/Synopse … #TITLE_267
AFAIK , TSynRestDataset does not have any TSQLRestClientURI property.
Thanks,
Win10, Delphi 10.4.2, mormot v 1.18.6249
Offline
TSynRestDataset is not part of the framework itself.
It is a third-party sample, not maintained by us.
The TSynRestDataset class doesn't appear in the documentation, either.
Client-side synchronization is not handled directly by our framework.
The basic usage is to create a TDataSet compatible class either from JSON or SynDB binary serialization.
From a TSQLRestClientURI, you can use the RetrieveListJSON() method to return some JSON, then fill a TDataSet from it using e.g mormot's SynDBVCL.pas.
See "17 - TClientDataset use" sample folder.
Offline
The basic usage is to create a TDataSet compatible class either from JSON or SynDB binary serialization.
From a TSQLRestClientURI, you can use the RetrieveListJSON() method to return some JSON, then fill a TDataSet from it using e.g mormot's SynDBVCL.pas.
See "17 - TClientDataset use" sample folder.
Thank you for the fast answer, I'll check this.
Offline