openharmony 鸿蒙 capi-rdb-rdb-changeinfo

2026-08-25 浏览 (1)

Rdb_ChangeInfo

typedef struct Rdb_ChangeInfo {...} Rdb_ChangeInfo

Overview

Defines a struct for the details about the device-cloud sync process.

Since: 11

Related module: RDB

Header file: relational_store.h

Summary

Member Variables

NameDescription
int versionVersion of the Rdb_DistributedConfig struct.
const char* tableNameName of the table with data changes.
int ChangeTypeType of the data changed, which can be data or asset.
Rdb_KeyInfo insertedLocation where data is inserted. If the primary key of the table is of the string type, it is the value of the primary key. Otherwise, it is the row number of the inserted data.
Rdb_KeyInfo updatedLocation where data is updated. If the primary key of the table is of the string type, it is the value of the primary key. Otherwise, it is the row number of the updated data.
Rdb_KeyInfo deletedLocation where data is deleted. If the primary key of the table is of the string type, it is the value of the primary key. Otherwise, it is the row number of the deleted data.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apis-distributedKVStore-sys

openharmony 鸿蒙 capi-oh-preferences-h

openharmony 鸿蒙 capi-udmf-oh-udshyperlink

openharmony 鸿蒙 js-apis-data-dataSharePredicates

openharmony 鸿蒙 capi-udmf-oh-udsappitem

openharmony 鸿蒙 capi-rdb-oh-data-vbuckets

openharmony 鸿蒙 capi-rdb-oh-predicates

openharmony 鸿蒙 capi-rdb-oh-data-value

openharmony 鸿蒙 capi-preferences-oh-preferencespair

openharmony 鸿蒙 errorcode-datashare

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