diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md b/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
index 25f14e4a81f0bb850165164857fd4353e20452d2..44c6e7089da9a60bd84c70afd3d4278222343a43 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-data-rdb.md
@@ -32,7 +32,7 @@ getRdbStore(config: StoreConfig, version: number, callback: AsyncCallback<Rdb
- 示例:
```
import dataRdb from '@ohos.data.rdb'
- const STORE_CONFIG = { name: "RdbTest.db", encryptKey: new Uint8Array([1, 2])}
+ const STORE_CONFIG = { name: "RdbTest.db"}
const SQL_CREATE_TABLE = "CREATE TABLE IF NOT EXISTS EMPLOYEE (ID INTEGER PRIMARY KEY AUTOINCREMENT, NAME TEXT NOT NULL, AGE INTEGER, SALARY REAL, CODES BLOB)"
dataRdb.getRdbStore(STORE_CONFIG, 1, function (err, rdbStore) {
rdbStore.executeSql(SQL_CREATE_TABLE)
@@ -1173,56 +1173,6 @@ executeSql(sql: string, bindArgs?: Array<ValueType>):Promise<void>
promise.then(() => {
console.info(TAG + 'delete done.')})
```
-
-### changeEncryptKey8+
-
-changeEncryptKey(newEncryptKey:Uint8Array, callback: AsyncCallback<number>):void
-
-修改数据库原有秘钥,结果以callbck形式返回。
-
-- 参数:
-
- | 参数名 | 类型 | 必填 | 说明 |
- | ------------- | --------------------------- | ---- | ------------------------------ |
- | newEncryptKey | Uint8Array | 是 | 要变更的数据库秘钥,不能为空。 |
- | callback | AsyncCallback<number> | 是 | 指定callback回调函数。 |
-
-- 示例:
-
- ```
- var newKey = new Uint8Array([1, 2])
- rdbStore.changeEncryptKey(newKey, function (ret) {
- console.info(TAG + "result is " + ret)})
- ```
-
-
-### changeEncryptKey8+
-
-changeEncryptKey(newEncryptKey:Uint8Array): Promise<number>
-
-修改数据库原有秘钥,结果以Promise形式返回。
-
-- 参数:
-
- | 参数名 | 类型 | 必填 | 说明 |
- | ------------- | ---------- | ---- | ------------------------------ |
- | newEncryptKey | Uint8Array | 是 | 要变更的数据库秘钥,不能为空。 |
-
-- 返回值:
-
- | 类型 | 说明 |
- | --------------------- | --------------------- |
- | Promise<number> | 指定Promise回调函数。 |
-
-- 示例:
-
- ```
- var newKey = new Uint8Array([1, 2])
- let promise = rdbStore.changeEncryptKey(newKey)
- promise.then((ret) => {
- console.info(TAG + "result is " + ret)})
- ```
-
## StoreConfig
管理关系数据库配置。
@@ -1230,7 +1180,6 @@ changeEncryptKey(newEncryptKey:Uint8Array): Promise<number>
| 参数名 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
| name | string | 是 | 数据库文件名。 |
-| encryptKey8+ | Uint8Array | 否 | 对数据库加密的秘钥。在创建时加入,则为初始化秘钥。后续打开时,需要保证其一致性。 |
## ValueType
@@ -1241,7 +1190,7 @@ changeEncryptKey(newEncryptKey:Uint8Array): Promise<number>
| -------- | -------- |
| number | 表示值类型为数字。 |
| string | 表示值类型为字符。 |
-| boolean | 表示值类型为布尔值。 |
+| boolean | 表示值类型为布尔值。|
## ValuesBucket