GithubHelp home page GithubHelp logo

Comments (2)

luke83 avatar luke83 commented on July 20, 2024

I have sync scenarios like this:
A) client contact the server via API, looking for updates since last call;
B) user works on client, locally, later saves data via API on server;
C) in next call to API from any client ONLY new data since last call will be downloaded.

From any client:

  1. By first call client get all records from server (~7000 recs)
  2. By second call client get all records modified, added, deleted since 1 (# recs << 7000)

The problem
With dualStorage the localStorage saves only records in call 2 - clearing all data from call 1, is there a way to merge partial set in the second call with the - already saved locally - first big set?

PS: I think this is related to #90

Thanks for your work and time!

from backbone.dualstorage.

nilbus avatar nilbus commented on July 20, 2024

I don't think this library has a good solution for this right now, but I'm open to ideas.

from backbone.dualstorage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.