Open aleclarson opened 7 years ago
db.table('posts').update({}, options)
...where options can have these properties:
options
returnChanges: true Include a changes array in the response, with an {old_val, new_val} pair for each updated row.
returnChanges: true
returnChanges: false Exclude the changes array. (the default behavior)
returnChanges: false
returnChanges: "always" Include a changes array, with an {old_val, new_val} pair for every row (even if not updated).
returnChanges: "always"
...where
options
can have these properties:returnChanges: true
Include a changes array in the response, with an {old_val, new_val} pair for each updated row.returnChanges: false
Exclude the changes array. (the default behavior)returnChanges: "always"
Include a changes array, with an {old_val, new_val} pair for every row (even if not updated).