Rdb_DistributedConfig

typedef struct Rdb_DistributedConfig {...} Rdb_DistributedConfig

Overview

Defines a struct for distributed configuration of a table.

Since: 11

Related module: RDB

Header file: relational_store.h

Summary

Member Variables

Name Description
int version Version of the Rdb_DistributedConfig struct.
bool isAutoSync Whether the table supports automatic device-cloud synchronization. If the value is true, the system automatically triggers device-cloud synchronization. If the value is false, the system does not automatically trigger device-cloud synchronization. In this case, you need to call OH_Rdb_CloudSync to trigger device-cloud synchronization.