ObjectSchema

public final class ObjectSchema: CustomStringConvertible

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.

  • Returns whether the two object schemas are equal.

    Declaration

    Swift

    public static func == (lhs: ObjectSchema, rhs: ObjectSchema) -> Bool