description: remove changeEncryptKey JS interface

Signed-off-by: lichenlong1 <lichenlong1@huawei.com>
This commit is contained in:
lichenlong1 2022-02-18 10:18:25 +08:00
parent 41f656e25d
commit 7a90706555

View File

@ -192,17 +192,6 @@ declare namespace rdb {
executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;
executeSql(sql: string, bindArgs?: Array<ValueType>): Promise<void>;
/**
* change the encrypted key(not null) if the database is configured with encrypted key.
*
* @note N/A
* @since 8
* @syscap SystemCapability.DistributedDataManager.RelationalStore.Core
* @param newEncryptKey the encrypted key is uint8 form in a vector.
*/
changeEncryptKey(newEncryptKey:Uint8Array, callback: AsyncCallback<void>):void;
changeEncryptKey(newEncryptKey:Uint8Array): Promise<void>;
/**
* beginTransaction before excute your sql
*
@ -326,13 +315,6 @@ declare namespace rdb {
*/
interface StoreConfig {
name: string;
/**
* Indicates the encryptKey of the database file
*
* @since 8
* @syscap SystemCapability.DistributedDataManager.RelationalStore.Core
*/
encryptKey: Uint8Array;
}
/**