From 1afaac544f6a3e9d98d33a95def69812941c3a55 Mon Sep 17 00:00:00 2001 From: zuojiangjiang Date: Tue, 26 Sep 2023 16:09:19 +0800 Subject: [PATCH] update Signed-off-by: zuojiangjiang --- interface_sdk/api/@ohos.data.relationalStore.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/interface_sdk/api/@ohos.data.relationalStore.d.ts b/interface_sdk/api/@ohos.data.relationalStore.d.ts index 14af8a4b..7daf768c 100644 --- a/interface_sdk/api/@ohos.data.relationalStore.d.ts +++ b/interface_sdk/api/@ohos.data.relationalStore.d.ts @@ -2772,8 +2772,11 @@ declare namespace relationalStore { * @since 10 */ readonly SHARING_RESOURCE_FIELD: string - allocSharingResource(predicates: RdbPredicates, columns?: Array): Promise; - releaseSharingResource(predicates: RdbPredicates): Promise; + querySharingResource(predicates: RdbPredicates, callback: AsyncCallback): void; + querySharingResource(predicates: RdbPredicates, columns: Array, callback: AsyncCallback): void; + querySharingResource(predicates: RdbPredicates, columns?: Array): Promise; + // allocSharingResource(predicates: RdbPredicates, columns?: Array): Promise; + // releaseSharingResource(predicates: RdbPredicates): Promise; /** * Executes a SQL statement that contains specified parameters but returns no value. -- Gitee