DocC for GRDBSendableMetatype

This commit is contained in:
Gwendal Roué committed 2025-09-10 07:41:42 +02:00
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/
+4 -2
View File
@@ -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