SQLExpressible, SQLOrderingTerm and SQLSelectable are Sendable

This commit is contained in:
Gwendal Roué committed 2024-02-16 08:34:21 +01:00
1 parent 57382f5d8c
commit 705c95ee92
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2109,7 +2109,7 @@ extension SQLExpression {
/// A type that can be used as an SQL expression.
///
/// Related SQLite documentation <https://www.sqlite.org/syntax/expr.html>
public protocol SQLExpressible {
public protocol SQLExpressible: Sendable {
/// Returns an SQL expression.
var sqlExpression: SQLExpression { get }
}
+1 -1
View File
@@ -138,7 +138,7 @@ extension SQLOrdering {
/// ### Supporting Type
///
/// - ``SQLOrdering``
public protocol SQLOrderingTerm {
public protocol SQLOrderingTerm: Sendable {
/// Returns an SQL ordering.
var sqlOrdering: SQLOrdering { get }
}
+1 -1
View File
@@ -301,7 +301,7 @@ enum SQLCount {
///
/// - ``AllColumns``
/// - ``SQLSelection``
public protocol SQLSelectable {
public protocol SQLSelectable: Sendable {
/// Returns an SQL selection.
var sqlSelection: SQLSelection { get }
}