未验证 提交 2629f570 编写于 作者: O openharmony_ci 提交者: Gitee

!17548 【轻量级 PR】:update zh-cn/application-dev/database/data-sync-of-kv-store.md.

Merge pull request !17548 from 葛亚芳/N/A
......@@ -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.
先完成此消息的编辑!
想要评论请 注册