oh...

you can add column named sync_state in table to judge.

for example:

person A modify a record in local with offline,   sync_state = update
person B modify the same record in local with online, sync_state =
update too.
when you sync the data from local to server side,  if primary both id
and sync_state  are same , the data not be saved in server side and
send a error message by Workerpool to page.





On Mar 6, 5:51 pm, Harikrishna Trivedi <[email protected]>
wrote:
> Here is the actual problem i have.
>
> Full database is loaded locally first time.
> Then client will modify data. And i want to update those changes only
> to the online database.
>
> Same as if online database is updated by another local copy then it
> must reflect in the first offline local copy..
>
> and same like with second one.
>
> At last all of three database must be updated with the same data.

Reply via email to