• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Rdb_Config
2
3## Overview
4
5Defines the RDB store configuration.
6
7**Since**: 10
8
9**Related module**: [RDB](capi-rdb.md)
10
11**Header file**: [relational_store.h](capi-relational-store-h.md)
12
13## Summary
14
15### Member Variables
16
17| Name                   | Description                                                        |
18| ----------------------- | ------------------------------------------------------------ |
19| int selfSize            | Size of the struct.                                            |
20| const char* dataBaseDir | Path of the database file.                                            |
21| const char* storeName   | Name of the RDB store.                                                |
22| const char* bundleName  | Bundle name of the application.                                                  |
23| const char* moduleName  | Module name.                                                |
24| bool isEncrypt          | Whether to encrypt the RDB store.                                        |
25| int securityLevel       | Database security level ([OH_Rdb_SecurityLevel](capi-relational-store-h.md#oh_rdb_securitylevel)).|
26| int area                | Database security area level ([Rdb_SecurityArea](capi-relational-store-h.md#rdb_securityarea)).<br>**Since**: 11|
27