diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index 7b201962030b135a2f4962810375e669d23e0589..301969129c5248a7027ef5e565e574e01be742e6 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -16,7 +16,6 @@ import {AsyncCallback, Callback} from './basic'; import { ResultSet } from './data/rdb/resultSet'; import Context from "./application/Context"; -import DataSharePredicates from './@ohos.data.DataSharePredicates'; /** * Provides methods for rdbStore create and delete. @@ -128,19 +127,6 @@ declare namespace rdb { update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback): void; update(values: ValuesBucket, predicates: RdbPredicates): Promise; - /** - * Updates data in the database based on a a specified instance object of DataSharePredicates. - * - * @since 9 - * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @param table Indicates the target table. - * @param values Indicates the row of data to be updated in the database.The key-value pairs are associated with column names of the database table. - * @param predicates Indicates the specified update condition by the instance object of DataSharePredicates. - * @return Returns the number of affected rows. - */ - update(table: string, values: ValuesBucket, predicates: DataSharePredicates, callback: AsyncCallback): void; - update(table: string, values: ValuesBucket, predicates: DataSharePredicates): Promise; - /** * Deletes data from the database based on a specified instance object of rdbPredicates. * @@ -152,18 +138,6 @@ declare namespace rdb { delete(predicates: RdbPredicates, callback: AsyncCallback): void; delete(predicates: RdbPredicates): Promise; - /** - * Deletes data from the database based on a specified instance object of DataSharePredicates. - * - * @since 9 - * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @param table Indicates the target table. - * @param predicates Indicates the specified delete condition by the instance object of DataSharePredicates. - * @return Returns the number of affected rows. - */ - delete(table: string, predicates: DataSharePredicates, callback: AsyncCallback): void; - delete(table: string, predicates: DataSharePredicates): Promise; - /** * Queries data in the database based on specified conditions. * @@ -176,19 +150,6 @@ declare namespace rdb { query(predicates: RdbPredicates, columns: Array, callback: AsyncCallback): void; query(predicates: RdbPredicates, columns?: Array): Promise; - /** - * Queries data in the database based on specified conditions. - * - * @since 9 - * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @param table Indicates the target table. - * @param predicates Indicates the specified query condition by the instance object of DataSharePredicates. - * @param columns Indicates the columns to query. If the value is null, the query applies to all columns. - * @return Returns a ResultSet object if the operation is successful; - */ - query(table: string, predicates: DataSharePredicates, columns: Array, callback: AsyncCallback): void; - query(table: string, predicates: DataSharePredicates, columns?: Array): Promise; - /** * Queries data in the database based on SQL statement. *