提交 0420656f 编写于 作者: 葛亚芳

fixed 658299c5 from https://gitee.com/ge-yafang/docs/pulls/17548

update zh-cn/application-dev/database/data-sync-of-kv-store.md.
Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 c7170386
......@@ -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) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册