mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-12-02 20:49:18 +00:00
description: remove changeEncryptKey JS interface
Signed-off-by: lichenlong1 <lichenlong1@huawei.com>
This commit is contained in:
parent
41f656e25d
commit
7a90706555
18
api/@ohos.data.rdb.d.ts
vendored
18
api/@ohos.data.rdb.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user