Signed-off-by: zuojiangjiang <zuojiangjiang@huawei.com>
This commit is contained in:
zuojiangjiang 2023-11-14 10:07:15 +08:00
parent f299ee34d9
commit 0564df0c23

View File

@ -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.
*