mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Sendable annotations
This commit is contained in:
1 parent
e0cfb97796
commit
a3b5001fed
2 files changed
+5
-5
No files matched your search
@@ -997,7 +997,7 @@ extension Database {
|
||||
///
|
||||
/// - [pragma `table_info`](https://www.sqlite.org/pragma.html#pragma_table_info)
|
||||
/// - [pragma `table_xinfo`](https://www.sqlite.org/pragma.html#pragma_table_xinfo)
|
||||
public struct ColumnInfo: FetchableRecord {
|
||||
public struct ColumnInfo: FetchableRecord, Sendable {
|
||||
let cid: Int
|
||||
let hidden: Int?
|
||||
|
||||
@@ -1085,7 +1085,7 @@ public struct ColumnInfo: FetchableRecord {
|
||||
/// - [pragma `index_info`](https://www.sqlite.org/pragma.html#pragma_index_info)
|
||||
public struct IndexInfo {
|
||||
/// The origin of an index.
|
||||
public struct Origin: RawRepresentable, Equatable, DatabaseValueConvertible {
|
||||
public struct Origin: RawRepresentable, Equatable, DatabaseValueConvertible, Sendable {
|
||||
public var rawValue: String
|
||||
|
||||
public init(rawValue: String) {
|
||||
@@ -1307,8 +1307,8 @@ extension ForeignKeyViolation: CustomStringConvertible {
|
||||
/// pk.rowIDColumn // nil
|
||||
/// pk.isRowID // false
|
||||
/// ```
|
||||
public struct PrimaryKeyInfo {
|
||||
private enum Impl {
|
||||
public struct PrimaryKeyInfo: Sendable {
|
||||
private enum Impl: Sendable {
|
||||
/// The hidden rowID.
|
||||
case hiddenRowID
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
///
|
||||
/// - ``isModified(byEventsOfKind:)``
|
||||
/// - ``isModified(by:)``
|
||||
public struct DatabaseRegion {
|
||||
public struct DatabaseRegion: Sendable {
|
||||
private let tableRegions: [CaseInsensitiveIdentifier: TableRegion]?
|
||||
|
||||
private init(tableRegions: [CaseInsensitiveIdentifier: TableRegion]?) {
|
||||
|
||||
Reference in new issue
Block a user