提交 b3db0f49 编写于 作者: A Annie_wang
上级 7aa5ea41
......@@ -50,7 +50,7 @@ The following table lists the APIs used for RDB data persistence. Most of the AP
## How to Develop
1. Obtain an **RdbStore** instance.<br> Example:
1. Obtain an **RdbStore** instance.<br>Example:
Stage model:
......@@ -97,7 +97,7 @@ The following table lists the APIs used for RDB data persistence. Most of the AP
store.version = 3;
}
// Perform operations such as adding, deleting, modifying, and querying data in the RDB store.
// Before performing data operations on the database, obtain an RdbStore instance.
});
}
......@@ -151,7 +151,7 @@ The following table lists the APIs used for RDB data persistence. Most of the AP
store.version = 3;
}
// Perform operations such as adding, deleting, modifying, and querying data in the RDB store.
// Before performing data operations on the database, obtain an RdbStore instance.
});
```
......@@ -256,7 +256,9 @@ The following table lists the APIs used for RDB data persistence. Most of the AP
5. Delete the RDB store.
Use **deleteRdbStore()** to delete the RDB store and related database files.
Use **deleteRdbStore()** to delete the RDB store and related database files.
Example:
> **NOTE**
>
......@@ -299,4 +301,4 @@ The following table lists the APIs used for RDB data persistence. Most of the AP
store = null;
console.info('Succeeded in deleting RdbStore.');
});
```
```
\ No newline at end of file
......@@ -118,7 +118,7 @@ Data is added, deleted, and modified continuously without closing the read trans
1. Check for unclosed result sets or transactions.
2. Closes all result sets or transactions.
2. Close all result sets or transactions.
## 14800050 Failed to Obtain the Subscription Service
......@@ -142,7 +142,7 @@ Deploy the subscription service on the platform.
**Error Message**
Only supported in stage mode.
Only supported in stage mode.
**Description**
......@@ -173,3 +173,21 @@ The **dataGroupId** is not obtained from the AppGallery.
**Solution**
Obtain **dataGroupId** from the AppGallery and pass it to **storeConfig** correctly.
## 14800051 Inconsistent Distributed Table Type
**Error Message**
The type of the distributed table does not match.
**Description**
Different distributed table types are set for the same database table.
**Possible Causes**
The database table is set with different [distributed table types](../apis/js-apis-data-relationalStore.md#distributedtype10).
**Solution**
A database table can be synchronized either between devices or between device and cloud.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册