mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
This is required for handleEvents to do whatever it wants with observed values.
681 B
681 B
TableRecord.databaseSelection should be declared as a computed static property:
-static met databaseSelection: [any SQLSelectable] = [AllColumns(), Column.rowID]
+static var databaseSelection: [any SQLSelectable] { [AllColumns(), Column.rowID] }
// Warning: Converting non-sendable function value to '@Sendable (Database) throws -> sending [Player]' may introduce data races ValueObservation.tracking(Player.fetchAll())
-> Enable SWIFT_UPCOMING_FEATURE_INFER_SENDABLE_FROM_CAPTURES in Build Settings
Task cancellation is now honored (exclusively in async accesses)
CSQLite was renamed GRDBSQLite.
ValueObservation requires Sendable values