Realm objects will automatically inherit from this class unless a Realm~ObjectClass was specified that does not inherit from this class.

Since: 0.12.0

Checks if this object has not been deleted and is part of a valid Realm.

Returns: boolean indicating if the object can be safely accessed.
linkingObjects(objectType, property)Realm.Results

Returns all the objects that link to this object in the specified relationship.

  • objectType
    • Type: string
    • The type of the objects that link to this object's type.

  • property
    • Type: string
    • The name of the property that references objects of this object's type.

  • Error
    • If the relationship is not valid.

Returns: Realm.Results the objects that link to this object.

Returns the total count of incoming links to this object

Returns: number number of links to this object.

Returns the schema for the type this object belongs to.

Returns: ObjectSchema the schema that describes this object.