mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Add fixit for Cursor.flatMap
This commit is contained in:
1 parent
cc80daec99
commit
efd69a628a
1 file changed
+5
@@ -1 +1,6 @@
|
||||
// Fixits for changes introduced by GRDB 4.0.0
|
||||
|
||||
extension Cursor {
|
||||
@available(*, unavailable, renamed: "compactMap")
|
||||
public func flatMap<ElementOfResult>(_ transform: @escaping (Element) throws -> ElementOfResult?) -> MapCursor<FilterCursor<MapCursor<Self, ElementOfResult?>>, ElementOfResult> { preconditionFailure() }
|
||||
}
|
||||
Reference in new issue
Block a user