SQL is Sendable

This commit is contained in:
Gwendal Roué committed 2024-07-27 16:37:33 +02:00
1 parent 9545bf70e2
commit ac33856f31
6 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@
///
/// - ``append(literal:)``
/// - ``append(sql:arguments:)``
public struct SQL {
public struct SQL: Sendable {
/// `SQL.Element` is a component of an `SQL` literal.
///
/// Elements can be qualified with table aliases, and this is how `SQL`
+1 -1
View File
@@ -34,7 +34,7 @@
/// ```
///
/// Related SQLite documentation: <https://www.sqlite.org/lang_expr.html>
public struct SQLExpression {
public struct SQLExpression: Sendable {
private var impl: Impl
/// The preferred interpretation of the expression in JSON
+1 -1
View File
@@ -12,7 +12,7 @@
/// function arguments, prefer the ``SQLOrderingTerm`` protocol.
///
/// Related SQLite documentation: <https://www.sqlite.org/syntax/ordering-term.html>
public struct SQLOrdering {
public struct SQLOrdering: Sendable {
private var impl: Impl
private enum Impl {
+1 -1
View File
@@ -15,7 +15,7 @@
/// function arguments, prefer the ``SQLSelectable`` protocol.
///
/// Related SQLite documentation: <https://www.sqlite.org/syntax/result-column.html>
public struct SQLSelection {
public struct SQLSelection: Sendable {
private var impl: Impl
/// The private implementation of the public `SQLSelection`.
+1 -1
View File
@@ -1,7 +1,7 @@
/// An SQL subquery.
///
/// `SQLSubquery` is an opaque representation of an SQL subquery.
public struct SQLSubquery {
public struct SQLSubquery: Sendable {
private var impl: Impl
private enum Impl {
+5 -5
View File
@@ -158,18 +158,18 @@
- [X] rowadapter
- [X] scopeadapter
- [ ] sharedvalueobservation
- [ ] sql
- [X] sql
- [ ] sqlexpressible
- [ ] sqlexpression
- [X] sqlexpression
- [ ] sqlinterpolation
- [ ] sqljsonexpressible
- [ ] sqlordering
- [X] sqlordering
- [ ] sqlorderingterm
- [ ] sqlrequest
- [ ] sqlselectable
- [ ] sqlselection
- [X] sqlselection
- [ ] sqlspecificexpressible
- [ ] sqlsubquery
- [X] sqlsubquery
- [ ] sqlsubqueryable
- [!] tablealias
- [X] transactionclock