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
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user