The following structures are available globally.
Object identifier type.
Object identifiers are wrappers for
Idvalues which are
UInt64. These are used for persisted objects. Identifiers are assigned by the framework automatically when you call
A value ofSee more
0indicates the object hasn’t been persisted, yet.
Different from regular
Propertys, backlinks and standalone relations don’t actually exist in the database, so to allow referencing them when creating a relation query using
link(_ property:), they use their own class.
You usually do not create instances of this struct. The code generator creates them for you and you just use them in property queries to refer to individual properties.See more
public struct ToManyProperty<R>
Lightweight struct wrapper around FlatBuffer reading. Used by generated Swift code to hydrate an entity from the store.See more
public struct FlatBufferReader
A collection of changes made to one entity type during a sync transaction. Delivered via
IDs of changed objects are available via
putsand those of removed objects via
public struct SyncChange