From 4729804ba8c8468bc7b39657596dccd193f27f48 Mon Sep 17 00:00:00 2001 From: MangTsang Date: Tue, 27 Dec 2022 15:17:22 +0000 Subject: [PATCH] update rdb error code: 202 Signed-off-by: MangTsang --- api/@ohos.data.relationalStore.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/@ohos.data.relationalStore.d.ts b/api/@ohos.data.relationalStore.d.ts index 775fe49b52..ab58cc4e3c 100644 --- a/api/@ohos.data.relationalStore.d.ts +++ b/api/@ohos.data.relationalStore.d.ts @@ -260,6 +260,7 @@ declare namespace relationalStore * @param {DataSharePredicates} predicates - Indicates the specified update condition by the instance object of {@link dataSharePredicates.DataSharePredicates}. * @param {AsyncCallback} callback - the number of affected rows. * @throws {BusinessError} 401 - if the parameter type is incorrect. + * @throws {BusinessError} 202 - Permission denied. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @since 9 @@ -274,6 +275,7 @@ declare namespace relationalStore * @param {DataSharePredicates} predicates - Indicates the specified update condition by the instance object of {@link dataSharePredicates.DataSharePredicates}. * @returns {Promise} return the number of affected rows. * @throws {BusinessError} 401 - if the parameter type is incorrect. + * @throws {BusinessError} 202 - Permission denied. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @since 9 @@ -309,6 +311,7 @@ declare namespace relationalStore * @param {DataSharePredicates} predicates - the specified delete condition by the instance object of {@link dataSharePredicates.DataSharePredicates}. * @param {AsyncCallback} callback - the number of affected rows. * @throws {BusinessError} 401 - if the parameter type is incorrect. + * @throws {BusinessError} 202 - Permission denied. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @since 9 @@ -322,6 +325,7 @@ declare namespace relationalStore * @param {DataSharePredicates} predicates - the specified delete condition by the instance object of {@link dataSharePredicates.DataSharePredicates}. * @param {AsyncCallback} callback - the number of affected rows. * @throws {BusinessError} 401 - if the parameter type is incorrect. + * @throws {BusinessError} 202 - Permission denied. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @since 9 @@ -360,6 +364,7 @@ declare namespace relationalStore * @param {Array} columns - the columns to query. If the value is empty array, the query applies to all columns. * @param {AsyncCallback} callback - the {@link ResultSet} object if the operation is successful. * @throws {BusinessError} 401 - if the parameter type is incorrect. + * @throws {BusinessError} 202 - Permission denied. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @since 9 @@ -374,6 +379,7 @@ declare namespace relationalStore * @param {Array} columns - the columns to query. If the value is null, the query applies to all columns. * @returns {Promise} return the {@link ResultSet} object if the operation is successful. * @throws {BusinessError} 401 - if the parameter type is incorrect. + * @throws {BusinessError} 202 - Permission denied. * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core * @systemapi * @since 9 -- Gitee