mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
An alternative would have been to make SQLSelectable conform to Sendable. But this makes it harder for users to provide SQLSelectable types.
261 B
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] }