mirror of
https://github.com/openharmony/applications_notes.git
synced 2026-07-19 13:16:40 -04:00
@@ -410,6 +410,9 @@ export default {
|
||||
* @param callback
|
||||
*/
|
||||
update(valueBucket, predicates, callback) {
|
||||
if (!rdbStore) {
|
||||
return;
|
||||
}
|
||||
rdbStore.update(valueBucket, predicates).then((affectedRowCount) => {
|
||||
LogUtil.info(TAG, "update success, affectedRowCount is " + affectedRowCount)
|
||||
if (callback != null) {
|
||||
|
||||
Reference in New Issue
Block a user