mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
DocC for GRDBSendableMetatype
This commit is contained in:
1 parent
7ec88b76e0
commit
6a25b3538e
2 files changed
+10
-2
No files matched your search
@@ -229,5 +229,11 @@ Task {
|
||||
}
|
||||
```
|
||||
|
||||
## Topics
|
||||
|
||||
### Supporting Types
|
||||
|
||||
- ``GRDBSendableMetatype``
|
||||
|
||||
[demo apps]: https://github.com/groue/GRDB.swift/tree/master/Documentation/DemoApps
|
||||
[Migrating to Swift 6]: https://www.swift.org/migration/documentation/migrationguide/
|
||||
@@ -24,10 +24,12 @@ public func databaseQuestionMarks(count: Int) -> String {
|
||||
}
|
||||
|
||||
#if compiler(>=6.2)
|
||||
/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise.
|
||||
/// A synonym for the standard `SendableMetatype` protocol in Swift 6.2,
|
||||
/// and `Any` in previous compiler versions.
|
||||
public typealias GRDBSendableMetatype = SendableMetatype
|
||||
#else
|
||||
/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise.
|
||||
/// A synonym for the standard `SendableMetatype` protocol in Swift 6.2,
|
||||
/// and `Any` in previous compiler versions.
|
||||
public typealias GRDBSendableMetatype = Any
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user