ObjectSchema
This class represents Realm model object schemas.
When using Realm, ObjectSchema
instances allow performing migrations and introspecting the database’s schema.
Object schemas map to tables in the core database.
-
The name of the class the schema describes.
-
The object class the schema describes.
-
Whether this object is embedded.
-
Whether this object is asymmetric.
-
The property which serves as the primary key for the class the schema describes, if any.
-
A human-readable description of the properties contained in the object schema.
-
Returns the property with the given name, if it exists.
-
Returns whether the two object schemas are equal.