-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix update/updateOrCreate in cloudant.js #35
Comments
Possibly related to #110 |
Some possible solutions:
|
@jannyHou one solution for a partial update are to use update handlers https://cloud.ibm.com/docs/services/Cloudant/api?topic=cloudant-design-documents#update-handlers |
Use
updateAttributes
function toupdate
a model instance and useupdate
function in call forupdateOrCreate
.Currently,
update
performs a destructive update. With this changeupdate
function should be partial update.The text was updated successfully, but these errors were encountered: