diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index dfbcea11dae41540078e23fd102a837239841a12..646c5e3165a515eb5244186072e6008533174697 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -150,18 +150,6 @@ declare namespace rdb { executeSql(sql: string, bindArgs: Array, callback: AsyncCallback): void; executeSql(sql: string, bindArgs?: Array): Promise; - /** - * change the encrypted key(not null) if the database is configured with encrypted key. - * - * @note N/A - * @since 8 - * @sysCap SystemCapability.Data.DATA_APPDATAMGR - * @devices phone, tablet, tv, wearable, car - * @param newEncryptKey the encrypted key is uint8 form in a vector. - */ - changeEncryptKey(newEncryptKey:Uint8Array, callback: AsyncCallback):void; - changeEncryptKey(newEncryptKey:Uint8Array): Promise; - /** * beginTransaction before excute your sql * @@ -242,14 +230,16 @@ declare namespace rdb { * @permission N/A */ interface StoreConfig { + /** + * the name of relational database. + * + * @since 7 + * @sysCap SystemCapability.Data.DATA_APPDATAMGR + * @devices phone, tablet, tv, wearable, car + * @import import data_rdb from '@ohos.data.rdb'; + * @permission N/A + */ name: string; - /** - * Indicates the encryptKey of the database file - * - * @since 8 - * @sysCap SystemCapability.Data.DATA_APPDATAMGR - */ - encryptKey: Uint8Array; } /**