mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Fixit for DatabaseWriter.readFromCurrentState
This commit is contained in:
1 parent
efd69a628a
commit
06ec4580be
1 file changed
+5
@@ -4,3 +4,8 @@ extension Cursor {
|
||||
@available(*, unavailable, renamed: "compactMap")
|
||||
public func flatMap<ElementOfResult>(_ transform: @escaping (Element) throws -> ElementOfResult?) -> MapCursor<FilterCursor<MapCursor<Self, ElementOfResult?>>, ElementOfResult> { preconditionFailure() }
|
||||
}
|
||||
|
||||
extension DatabaseWriter {
|
||||
@available(*, unavailable, message: "Use concurrentRead instead")
|
||||
public func readFromCurrentState(_ block: @escaping (Database) -> Void) throws { preconditionFailure() }
|
||||
}
|
||||
Reference in new issue
Block a user