harmony 鸿蒙OH_Predicates

2025-06-12 浏览 (1)

OH_Predicates

Overview

Defines the predicates for RDB stores.

Since: 10

Related module: RDB

Summary

Member Variables

NameDescription
idUnique identifier of the OH_Predicates struct.
equalToPointer to the function used to set a predicates object to match the field whose value is equal to the specified value.
notEqualToPointer to the function used to set a predicates object to match the field whose value is not equal to the specified value.
beginWrapPointer to the function used to add a left parenthesis to the predicates.
endWrapPointer to the function used to add a right parenthesis to the predicates.
orOperatePointer to the function used to add the OR operator to the predicates.
andOperatePointer to the function used to add the AND operator to the predicates.
isNullPointer to the function used to set a predicates object to match the field whose value is null.
isNotNullPointer to the function used to set a predicates object to match the field whose value is not null.
likePointer to the function used to set a predicates object to match a string that is similar to the specified value.
betweenPointer to the function used to set a predicates object to match the field whose value is within the specified range.
notBetweenPointer to the function used to set a predicates object to match the field whose value is out of the specified range.
greaterThanPointer to the function used to set a predicates object to match the field with value greater than the specified value.
lessThanPointer to the function used to set a predicates object to match the field with value less than the specified value.
greaterThanOrEqualToPointer to the function used to set a predicates object to match the field with value greater than or equal to the specified value.
lessThanOrEqualToPointer to the function used to set a predicates object to match the field with value less than or equal to the specified value.
orderByPointer to the function used to set a predicates object to sort the values in a column in ascending or descending order.
distinctPointer to the function used to set a predicates object to filter out duplicate records.
limitPointer to the function used to set a predicates object to specify the maximum number of records.
offsetPointer to the function used to set a predicates object to specify the start position of the returned result.
groupByPointer to the function used to set a predicates object to group rows that have the same value into summary rows.
inPointer to the function used to set a predicates object to match the field with the value within the specified range.
notInPointer to the function used to set a predicates object to match the field with the value out of the specified range.
clearPointer to the function used to clear a predicates instance.
destroyDestroys an OH_Predicates object and reclaims the memory occupied.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkData (ArkData Management)

harmony 鸿蒙Data

harmony 鸿蒙OH_Cursor

harmony 鸿蒙OH_Rdb_Config

harmony 鸿蒙OH_Rdb_Store

harmony 鸿蒙OH_VBucket

harmony 鸿蒙OH_VObject

harmony 鸿蒙Preferences

harmony 鸿蒙_r_d_b

harmony 鸿蒙Rdb_ChangeInfo

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/CTHYlj