pilgr / Paper

Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
Apache License 2.0
2.34k stars 234 forks source link

How to write data without overwriting? #176

Closed N-1-K-k-1 closed 4 years ago

N-1-K-k-1 commented 4 years ago

I really like working with Paper, but now I need to save data without overwriting the existing data. Is it possible to do that?

pilgr commented 4 years ago

Since Paper is basically a key-value storage you can't do that. I'd recommend to read the data, modify it in memory and then save back with the same key.