mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +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
@@ -41,7 +41,7 @@ struct SQLExpressionsArray: SQLCollection {
|
||||
let expressions: [SQLExpression]
|
||||
|
||||
init<S: Sequence>(_ expressions: S) where S.Iterator.Element: SQLExpressible {
|
||||
self.expressions = expressions.map { $0.sqlExpression }
|
||||
self.expressions = expressions.map(\.sqlExpression)
|
||||
}
|
||||
|
||||
func collectionSQL(_ context: inout SQLGenerationContext) -> String {
|
||||
|
||||
Reference in new issue
Block a user