提交 6e46880a 编写于 作者: L lihuihui

rdb

Signed-off-by: Nlihuihui <lihuihui29@huawei.com>
上级 e44d41d7
...@@ -48,17 +48,17 @@ NativeRdbStore是RDB组件在Native层的实现,提供了一套完整的对本 ...@@ -48,17 +48,17 @@ NativeRdbStore是RDB组件在Native层的实现,提供了一套完整的对本
OH_Rdb_Config config; OH_Rdb_Config config;
// 该路径为应用沙箱路径 // 该路径为应用沙箱路径
config.dataBaseDir = "xxx"; config.dataBaseDir = "xxx";
// 数据库文件名 // 数据库文件名
config.storeName = "RdbTest.db"; config.storeName = "RdbTest.db";
// 应用包名 // 应用包名
config.bundleName = "xxx"; config.bundleName = "xxx";
// 应用模块名 // 应用模块名
config.moduleName = "xxx"; config.moduleName = "xxx";
// 数据库安全等级测试 // 数据库安全等级测试
config.securityLevel = OH_Rdb_SecurityLevel::S1; config.securityLevel = OH_Rdb_SecurityLevel::S1;
// 数据库是否加密 // 数据库是否加密
config.isEncrypt = false; config.isEncrypt = false;
// config所占内存大小 // config所占内存大小
config.selfSize = sizeof(OH_Rdb_Config); config.selfSize = sizeof(OH_Rdb_Config);
int errCode = 0; int errCode = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册