mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
SendableMetatype for compiler >= 6.2
This commit is contained in:
1 parent
be0f0c6f25
commit
fd7adf7fb3
1 file changed
+8
@@ -23,6 +23,14 @@ public func databaseQuestionMarks(count: Int) -> String {
|
||||
repeatElement("?", count: count).joined(separator: ",")
|
||||
}
|
||||
|
||||
#if compiler(>=6.2)
|
||||
/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise.
|
||||
public typealias GRDBSendableMetatype = SendableMetatype
|
||||
#else
|
||||
/// A synonym for `SendableMetatype` in Swift 6.2, and `Any` otherwise.
|
||||
public typealias GRDBSendableMetatype = Any
|
||||
#endif
|
||||
|
||||
// MARK: - Internal
|
||||
|
||||
/// Reserved for GRDB: do not use.
|
||||
|
||||
Reference in new issue
Block a user