diff --git a/en/application-dev/reference/apis/js-apis-data-rdb.md b/en/application-dev/reference/apis/js-apis-data-rdb.md index 2924cc05735a40236985ba921d39839ee796afad..3c6f7aa5b9e2a554ecaeda593b1fbc394eea210e 100644 --- a/en/application-dev/reference/apis/js-apis-data-rdb.md +++ b/en/application-dev/reference/apis/js-apis-data-rdb.md @@ -1634,7 +1634,7 @@ Executes an SQL statement that contains specified arguments but returns no value ```js const SQL_DELETE_TABLE = "DELETE FROM test WHERE name = ?" -rdbStore.executeSql(SQL_CREATE_TABLE, ['zhangsan'], function(err) { +rdbStore.executeSql(SQL_DELETE_TABLE, ['zhangsan'], function(err) { if (err) { console.info("Failed to execute SQL, err: " + err) return @@ -2045,7 +2045,7 @@ Registers an observer for this RDB store. When the data in the RDB store changes | -------- | -------- | -------- | -------- | | event | string | Yes| The value is'dataChange', which indicates a data change event.| | type | [SubscribeType](#subscribetype8) | Yes| Subscription type to register.| -| observer | Callback<Array<string>> | Yes| Observer that listens for the data changes in the RDB store.| +| observer | Callback<Array<string>> | Yes| Observer that listens for the data changes in the RDB store. **Array** indicates the ID of the peer device whose data in the database is changed.| **Example** @@ -2076,7 +2076,7 @@ Unregisters the observer of the specified type from the RDB store. This API uses | -------- | -------- | -------- | -------- | | event | string | Yes| The value is'dataChange', which indicates a data change event.| | type | [SubscribeType](#subscribetype8) | Yes| Subscription type to unregister.| -| observer | Callback<Array<string>> | Yes| Data change observer registered.| +| observer | Callback<Array<string>> | Yes| Data change observer to unregister. **Array** indicates the ID of the peer device whose data in the database is changed.| **Example**