mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-08 07:36:38 +00:00
update
Signed-off-by: zuojiangjiang <zuojiangjiang@huawei.com>
This commit is contained in:
parent
f299ee34d9
commit
0564df0c23
16
api/@ohos.data.relationalStore.d.ts
vendored
16
api/@ohos.data.relationalStore.d.ts
vendored
@ -2852,6 +2852,22 @@ declare namespace relationalStore {
|
||||
callback: AsyncCallback<ModifyTime>
|
||||
): void;
|
||||
|
||||
/**
|
||||
* Cleans dirty data deleted in the cloud.
|
||||
*
|
||||
* Data with a cursor smaller than the specified cursor will be cleaned up.
|
||||
*
|
||||
* @param { string } table - Indicates the name of the table to check.
|
||||
* @param { number } cursor - Indicates the cursor.
|
||||
* @param { AsyncCallback<void> } callback - The callback of clean.
|
||||
* @throws { BusinessError } 801 - Capability not supported.
|
||||
* @throws { BusinessError } 14800000 - Inner error.
|
||||
* @throws { BusinessError } 401 - Parameter error.
|
||||
* @syscap SystemCapability.DistributedDataManager.CloudSync.Client
|
||||
* @since 11
|
||||
*/
|
||||
cleanDirtyData(table: string, cursor: number, callback: AsyncCallback<void>): void;
|
||||
|
||||
/**
|
||||
* Cleans all dirty data deleted in the cloud.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user