From d3bd085209acd5a4c21d3a414ba0d9445cd9615f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Tue, 14 Jun 2022 08:09:25 +0000 Subject: [PATCH] update en/application-dev/database/database-relational-guidelines.md. Signed-off-by: @ge-yafang --- en/application-dev/database/database-relational-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/database/database-relational-guidelines.md b/en/application-dev/database/database-relational-guidelines.md index 88e2f7eb9c..5abcd008d1 100644 --- a/en/application-dev/database/database-relational-guidelines.md +++ b/en/application-dev/database/database-relational-guidelines.md @@ -55,7 +55,7 @@ The RDB provides APIs for inserting, deleting, updating, and querying data in th | Class | API | Description | | -------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | RdbStore | delete(rdbPredicates: RdbPredicates, callback: AsyncCallback<number>):void | Deletes data from the RDB store based on the specified **RdbPredicates** object. This method uses a callback to return the result.
- **rdbPredicates**: conditions for deleting data.
- **callback**: callback invoked to return the number of rows deleted. | - | RdbStore | delete(rdbPredicates: RdbPredicates): Promise | Deletes data from the RDB store based on the specified **RdbPredicates** object. This method uses a promise to return the result.
- **rdbPredicates**: conditions for deleting data. | + | RdbStore | delete(rdbPredicates: RdbPredicates): Promise\ | Deletes data from the RDB store based on the specified **RdbPredicates** object. This method uses a promise to return the result.
- **rdbPredicates**: conditions for deleting data. | - **Querying data** @@ -148,7 +148,7 @@ A result set can be regarded as a row of data in the queried results. It allows | Class | API | Description | | -------- | ------------------------------------------------------------ | ------------------------------------------------------------ | | RdbStore | setDistributedTables(tables: Array\, callback: AsyncCallback\): void | Sets a list of distributed tables. This method uses a callback to return the result.
-  **tables**: names of the distributed tables to set.
- **callback**: callback invoked to return the result. | -| RdbStore | setDistributedTables(tables: Array\): Promise\ | Sets a list of distributed tables. This method uses a promise to return the result.
-  **tables**: names of the distributed tables to set. | +| RdbStore | setDistributedTables(tables: Array\): Promise | Sets a list of distributed tables. This method uses a promise to return the result.
-  **tables**: names of the distributed tables to set. | **Obtaining the Distributed Table Name for a Remote Device** -- GitLab