We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ac5f5 commit 9710bc1Copy full SHA for 9710bc1
Sources/StructuredQueriesCore/Table.swift
@@ -1,9 +1,15 @@
1
+#if swift(>=6.2)
2
+ public typealias _SendableMetatype = SendableMetatype
3
+#else
4
+ public protocol _SendableMetatype {}
5
+#endif
6
+
7
/// A type representing a database table.
8
///
9
/// Don't conform to this protocol directly. Instead, use the `@Table` and `@Column` macros to
10
/// generate a conformance.
11
@dynamicMemberLookup
-public protocol Table: QueryRepresentable where TableColumns.QueryValue == Self {
12
+public protocol Table: QueryRepresentable, _SendableMetatype where TableColumns.QueryValue == Self {
13
/// A type that describes this table's columns.
14
associatedtype TableColumns: TableDefinition
15
0 commit comments