Schema

public final class Schema: CustomStringConvertible

Schema instances represent collections of model object schemas managed by a Realm.

When using Realm, Schema instances allow performing migrations and introspecting the database’s schema.

Schemas map to collections of tables in the core database.

  • Returns whether the two schemas are equal.

    Declaration

    Swift

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