This reverts 7ffc332 At the time, selectID was replaced with selectPrimaryKey(as:) because: > Since Optional is a database value like others, selectID would be a request of optionals for records with an optional ID type: > > struct Player: Identifiable, MutablePersistableRecord { > var id: Int64? > } > > Player.selectID() // QueryInterface<Int64?> > > This is not good, because primary keys are not null. And those requests would fetch impractical types such as [Int64?], Set<Int64?>, Int64??. This problem is reintroduced, but we now recommend against optional ids in https://swiftpackageindex.com/groue/grdb.swift/documentation/grdb/recordrecommendedpractices. And record with optional ids can use selectPrimaryKey(as:).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4