From e5e0b4d3ce97d4d40eb408f119ee1026561bde7f Mon Sep 17 00:00:00 2001 From: srr101 Date: Mon, 3 Jul 2023 11:13:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=A0=87=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: srr101 --- .../apis/js-apis-data-dataSharePredicates.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-dataSharePredicates.md b/zh-cn/application-dev/reference/apis/js-apis-data-dataSharePredicates.md index 77fa50478c..4263954453 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-data-dataSharePredicates.md +++ b/zh-cn/application-dev/reference/apis/js-apis-data-dataSharePredicates.md @@ -19,7 +19,7 @@ import dataSharePredicates from '@ohos.data.dataSharePredicates'; ## DataSharePredicates 提供用于不同实现不同查询方法的数据共享谓词。该类型不是多线程安全的,如果应用中存在多线程同时操作该类派生出的实例,注意加锁保护。 -### equalTo10+ +### equalTo equalTo(field: string, value: ValueType): DataSharePredicates @@ -170,7 +170,7 @@ predicates.equalTo("NAME", "lisi") .equalTo("NAME", "Rose") ``` -### and10+ +### and and(): DataSharePredicates @@ -645,7 +645,7 @@ let predicates = new dataSharePredicates.DataSharePredicates() predicates.lessThanOrEqualTo("AGE", 50) ``` -### orderByAsc10+ +### orderByAsc orderByAsc(field: string): DataSharePredicates @@ -676,7 +676,7 @@ let predicates = new dataSharePredicates.DataSharePredicates() predicates.orderByAsc("AGE") ``` -### orderByDesc10+ +### orderByDesc orderByDesc(field: string): DataSharePredicates @@ -732,7 +732,7 @@ let predicates = new dataSharePredicates.DataSharePredicates() predicates.equalTo("NAME", "Rose").distinct() ``` -### limit10+ +### limit limit(total: number, offset: number): DataSharePredicates @@ -826,7 +826,7 @@ let predicates = new dataSharePredicates.DataSharePredicates() predicates.indexedBy("SALARY_INDEX") ``` -### in10+ +### in in(field: string, value: Array<ValueType>): DataSharePredicates -- GitLab