Required Instance Methodgrdb 7.4.0GRDB
_makeFetcher
Returns a value that fetches database values upon changes in an observed database region. The returned value method must not depend on the state of the reducer.
func _makeFetcher() -> Fetcher
Returns a value that fetches database values upon changes in an observed database region. The returned value method must not depend on the state of the reducer.
func _makeFetcher() -> Fetcher
import GRDB
A toolkit for SQLite databases, with a focus on application development
protocol _ValueReducer
Implementation details of ValueReducer
.
associatedtype Fetcher : _ValueReducerFetcher
The Sendable type that fetches database values
associatedtype Value : Sendable
The type of observed values
mutating func _value(_ fetched: Fetcher.Value) throws -> Value?
Transforms a fetched value into an eventual observed value. Returns nil when observer should not be notified.