Migration
open class Migration : NSObject
Class used to perform migrations in your local cache.
-
Undocumented
Declaration
Swift
public typealias MigrationHandler = (Migration, UInt64) -> Void
-
Undocumented
Declaration
Swift
public typealias MigrationObjectHandler = (JsonDictionary) -> JsonDictionary?
-
Method that performs a migration in a specific collection.
Declaration
Swift
open func execute<T>(_ type: T.Type, oldClassName: String? = nil, migrationObjectHandler: MigrationObjectHandler? = nil) where T : Entity