Get changed records only by database
i have a record and displayed by a list in Sencha Touch for example. I need to get the records which have been changed by another client. So new and changed records are loaded from database.
I am reloading the store, but getUpdatedRecords doesn't work. I guess it's because it loads every single record again, so only
getNewRecords returns ALL records.
How do i autoload it, if changes at the database happened and how do i get the changed records
and changed records by the actual client?
What is the difference between getUpdatedRecords and getModifiedRecords? Both don't work in this case.
Usign LocalStorage to compare current storage with new loaded storage form database?
Offline blog but not the links...
Just looked at WebSqlSync, and the selling point is:
'Automatically synchronize a local WebSql database (SQLite of the browser) with a server'
If you are using WebSql, not sure if it works with localstorage, I guess you would need to figure out how to update the store once the syncNow() function has been called. :s