EntityInfo
public class EntityInfo
Used by the code generator to associate a Swift class with its counterpart in the model of the ObjectBox database.
-
The name of the entity in the database (may differ from the Swift class name).
Declaration
Swift
private(set) public var entityName: String { get } -
The local ID number assigned to this type of entity in the database.
Declaration
Swift
private(set) public var entitySchemaId: UInt32 { get } -
Create an EntityInfo for a class with the given name and ID in the database.
Declaration
Swift
public init(name entityName: String, id schemaId: UInt32)
View on GitHub
Install in Dash
EntityInfo Class Reference