From ee51adbe11b689c2c696c551caddeab73eda5865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Sun, 23 Apr 2023 03:33:46 +0000 Subject: [PATCH] fixed 77b3220 from https://gitee.com/ge-yafang/docs/pulls/17550 update zh-cn/application-dev/database/data-persistence-by-kv-store.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 葛亚芳 --- zh-cn/application-dev/database/data-persistence-by-kv-store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/database/data-persistence-by-kv-store.md b/zh-cn/application-dev/database/data-persistence-by-kv-store.md index 06371748f4..d5f4dff37f 100644 --- a/zh-cn/application-dev/database/data-persistence-by-kv-store.md +++ b/zh-cn/application-dev/database/data-persistence-by-kv-store.md @@ -96,7 +96,7 @@ try { const options = { createIfMissing: true, // 当数据库文件不存在时是否创建数据库,默认创建 - encrypt: false, // 当数据库文件不存在时是否创建数据库,默认创建 + encrypt: false, // 设置数据库文件是否加密,默认不加密 backup: false, // 设置数据库文件是否备份,默认备份 autoSync: true, // 设置数据库文件是否自动同步。默认为false,即手动同步;设置为true时,表示自动同步 kvStoreType: distributedKVStore.KVStoreType.SINGLE_VERSION, // 设置要创建的数据库类型,默认为多设备协同数据库 -- GitLab