mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
SE-0249: Key Path Expressions as Functions
This commit is contained in:
1 parent
a31984724e
commit
7865b0a2ee
40 files changed
+160
-160
No files matched your search
@@ -108,7 +108,7 @@ extension SQLInterpolation {
|
||||
/// SELECT * FROM player WHERE id IN \(ids)
|
||||
/// """
|
||||
public mutating func appendInterpolation<S>(_ sequence: S) where S: Sequence, S.Element: SQLExpressible {
|
||||
appendInterpolation(sequence.lazy.map { $0.sqlExpression })
|
||||
appendInterpolation(sequence.lazy.map(\.sqlExpression))
|
||||
}
|
||||
|
||||
/// Appends a sequence of expressions, wrapped in parentheses.
|
||||
|
||||
Reference in new issue
Block a user