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