!2226 【RDB】StoreConfig新增属性encrypt

Merge pull request !2226 from Cap_W/master
This commit is contained in:
openharmony_ci 2022-09-05 11:38:53 +00:00 committed by Gitee
commit b2766c33ce
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -378,6 +378,15 @@ declare namespace rdb {
*/
interface StoreConfig {
name: string;
/**
* Specifies whether the database is encrypted.
*
* @since 9
* @syscap SystemCapability.DistributedDataManager.RelationalStore.Core
* @import import data_rdb from '@ohos.data.rdb';
*/
encrypt?: boolean;
}
/**