Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Records #2

Open
louislewis2 opened this issue Jun 3, 2019 · 0 comments
Open

Updating Records #2

louislewis2 opened this issue Jun 3, 2019 · 0 comments

Comments

@louislewis2
Copy link

Hi,

firstly this library looks really amazing.
I did have one question, would it be great effort to implement a way in which
data can be updated?

i.e

struct MyData
{
	float temperature;
	float moisture;
        bool isSent
};

Saving the data locally is great, I would like to load the data, and then send them to a web server. Sending will be done in batches, perhaps 10 at a time, once they are sent it would be great if I could simply set the isSent to true and then call an update method.

even a way of deleting an item, would work. Keeping items in local storage, is only for offline scenarios in my use case.

c++ is not my strongest point, else I would have explored this myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant