Thanks Eduard, I have initially started with as you mentioned above and then used workerPool module to sync.
Thanks, Ravi On Jul 22, 2:30 pm, Eduard Martini <[email protected]> wrote: > The easiest way to to make an ajax request to server and get a JSON > object with your data that is then inserted on local DB > > On Jul 21, 4:21 pm, ravi181229 <[email protected]> wrote: > > > Hi all, > > > I would like to implement a feature where contacts are fetched from > > the Database (server) and saves in local system. > > I am using Database API for this. > > I am able to create contacts,search etc in the local DB but do not > > have an idea how to fetch data from > > the SERVER DB and update/insert in the local DB. > > > Please guide me. > > > Thank you, > > Ravi
