SE-0249: Key Path Expressions as Functions

This commit is contained in:
Gwendal Roué committed 2020-03-08 19:58:51 +01:00
1 parent a31984724e
commit 7865b0a2ee
40 files changed
+160 -160

No files matched your search

@@ -603,7 +603,7 @@ public struct SQLExpressionFunction: SQLExpression {
/// // ABS(-1)
/// SQLExpressionFunction(.abs, arguments: -1)
public init(_ functionName: SQLFunctionName, arguments: SQLExpressible...) {
self.init(functionName, arguments: arguments.map { $0.sqlExpression })
self.init(functionName, arguments: arguments.map(\.sqlExpression))
}
/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)