Add missing SendableMetatype requirements

This commit is contained in:
Gwendal Roué committed 2025-07-25 07:27:28 +02:00
1 parent 8ba1bc9a96
commit b44628b9cd
9 files changed
+12 -12

No files matched your search

@@ -360,7 +360,7 @@ extension QueryInterfaceRequest: SelectionRequest {
/// .fetchSet(db)
/// ```
public func selectID() -> QueryInterfaceRequest<RowDecoder.ID>
where RowDecoder: Identifiable
where RowDecoder: Identifiable & SendableMetatype
{
selectWhenConnected { db in
let primaryKey = try db.primaryKey(self.databaseTableName)