mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
SE-0345: if let x { }
https://github.com/apple/swift-evolution/blob/main/proposals/0345-if-let-shorthand.md
This commit is contained in:
1 parent
58293befc9
commit
dd55175978
24 files changed
+84
-99
No files matched your search
@@ -12,7 +12,7 @@ extension TableRequest where Self: FilteredRequest {
|
||||
/// If the search pattern is nil, the request does not match any
|
||||
/// database row.
|
||||
public func matching(_ pattern: FTS3Pattern?) -> Self {
|
||||
guard let pattern = pattern else {
|
||||
guard let pattern else {
|
||||
return none()
|
||||
}
|
||||
let alias = TableAlias()
|
||||
|
||||
Reference in new issue
Block a user