AnyDatabaseWriter
public final class AnyDatabaseWriter : DatabaseWriter
A type-erased DatabaseWriter
Instances of AnyDatabaseWriter forward their methods to an arbitrary underlying database writer.
-
Creates a database writer that wraps a base database writer.
Declaration
Swift
public init(_ base: DatabaseWriter)