ObjectBox C and C++ API  0.21.0
obx::SyncChange Struct Reference

A collection of changes made to one entity type during a sync transaction. Delivered via SyncClientChangeListener. IDs of changed objects are available via puts and those of removed objects via removals. More...

#include <objectbox-sync.hpp>

Public Attributes

obx_schema_id entityId = 0
 
std::vector< obx_idputs
 
std::vector< obx_idremovals
 

Detailed Description

A collection of changes made to one entity type during a sync transaction. Delivered via SyncClientChangeListener. IDs of changed objects are available via puts and those of removed objects via removals.

Member Data Documentation

◆ entityId

obx_schema_id obx::SyncChange::entityId = 0

◆ puts

std::vector<obx_id> obx::SyncChange::puts

◆ removals

std::vector<obx_id> obx::SyncChange::removals