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 77fa50478c7c2e76173c13dd3bedd0e0b91229ee..426395445333b4eada4c89166022537cc76ddd63 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