vasern / vasern

Vasern is a fast, lightweight and open source data storage for React Native

Home Page:https://vasern.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update new values

apppro123 opened this issue · comments

If i update an object in the vasern db, is it enough if i give in all values that should change it it merges them or do i have to give every value (so the values that i dont want to change persist)?

Yes, the properties and values passed in update method will merge with the existing record if found.