ObjectSchema

@frozen
public struct ObjectSchema : CustomStringConvertible
extension ObjectSchema: Equatable

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.

Properties

Property Retrieval

Equatable

  • Returns whether the two object schemas are equal.

    Declaration

    Swift

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