Sendable annotations

This commit is contained in:
Gwendal Roué committed 2023-11-03 10:53:49 +01:00
1 parent 61e0e97b39
commit e7eac0d500
88 files changed
+957 -711

No files matched your search

@@ -547,7 +547,7 @@ struct SQLQueryGenerator: Refinable {
/// ORDER BY ... -- ordering
/// LIMIT ... -- limit
private struct SQLQualifiedRelation {
private struct SQLQualifiedRelation: Sendable {
/// All aliases, including aliases of joined relations
var allAliases: [TableAlias] {
joins.reduce(into: [source.alias].compactMap { $0 }) {
@@ -713,7 +713,7 @@ private struct SQLQualifiedRelation {
extension SQLQualifiedRelation: Refinable { }
/// A "qualified" source, where all tables are identified with a table alias.
private struct SQLQualifiedSource {
private struct SQLQualifiedSource: Sendable {
var tableName: String
var alias: TableAlias