From 658299c517f366fa0730fe4cbb84840193598826 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:09:47 +0000 Subject: [PATCH] update zh-cn/application-dev/database/data-sync-of-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-sync-of-kv-store.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zh-cn/application-dev/database/data-sync-of-kv-store.md b/zh-cn/application-dev/database/data-sync-of-kv-store.md index 14a5cdf0ec..4f866f6272 100644 --- a/zh-cn/application-dev/database/data-sync-of-kv-store.md +++ b/zh-cn/application-dev/database/data-sync-of-kv-store.md @@ -160,8 +160,9 @@ encrypt: false, backup: false, autoSync: false, + // kvStoreType不填时,默认创建多设备协同数据库 kvStoreType: distributedKVStore.KVStoreType.SINGLE_VERSION, - // 设备协同数据库:kvStoreType: distributedKVStore.KVStoreType.DEVICE_COLLABORATION, + // 多设备协同数据库:kvStoreType: distributedKVStore.KVStoreType.DEVICE_COLLABORATION, securityLevel: distributedKVStore.SecurityLevel.S1 }; kvManager.getKVStore('storeId', options, (err, kvStore) => { -- GitLab