Closed jahangirabd closed 2 years ago
Hi, is there any way to update whole record , not just parameters.
`log('new data', query.set);
var updData= await this.db.getCollection(query.in).chain().find(query.where).update(function(data) { data = query.set; }).data()
log('updated data', updData); // data not changes, also after select`
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, is there any way to update whole record , not just parameters.
`log('new data', query.set);
var updData= await this.db.getCollection(query.in).chain().find(query.where).update(function(data) { data = query.set; }).data()
log('updated data', updData); // data not changes, also after select`