From 7ffcfa1c18b6772c36481bda8b5b1e343c7ea197 Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Sat, 25 Feb 2023 15:53:33 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- .../database/database-relational-guidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/database/database-relational-guidelines.md b/en/application-dev/database/database-relational-guidelines.md index 7d4ded2757..3667a7e4a4 100644 --- a/en/application-dev/database/database-relational-guidelines.md +++ b/en/application-dev/database/database-relational-guidelines.md @@ -10,7 +10,7 @@ Most of the RDB store APIs are asynchronous interfaces, which can use a callback ### Creating or Deleting an RDB Store -The table below describes the APIs available for creating and deleting an RDB store. +The following table describes the APIs available for creating and deleting an RDB store. **Table 1** APIs for creating and deleting an RDB store @@ -71,7 +71,7 @@ The **RDB** module provides APIs for inserting, deleting, updating, and querying The **RDB** module provides **RdbPredicates** for you to set database operation conditions. -The table below lists common predicates. For more information about predicates, see [**RdbPredicates**](../reference/apis/js-apis-data-rdb.md#rdbpredicates). +The following table lists common predicates. For more information about predicates, see [**RdbPredicates**](../reference/apis/js-apis-data-rdb.md#rdbpredicates). **Table 6** APIs for using RDB store predicates @@ -250,7 +250,7 @@ You can obtain the distributed table name for a remote device based on the local ```js function storeObserver(devices) { for (let i = 0; i < devices.length; i++) { - console.log('device=' + device[i] + ' data changed') + console.log('device=' + devices[i] + ' data changed') } } try { -- GitLab