Files
GRDB.swift/Documentation/GRDB7MigrationGuide.md
T
Gwendal Roué 24d232aafd StrictConcurrency: TableRecord.databaseSelection must be declared as a computed property
An alternative would have been to make SQLSelectable conform to Sendable. But this makes it harder for users to provide SQLSelectable types.
2024-07-27 16:37:33 +02:00

261 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] }