SQLExpressionFunction
public struct SQLExpressionFunction : SQLExpression
This type is an implementation detail of the query interface. Do not use it directly.
See https://github.com/groue/GRDB.swift/#the-query-interface
Low Level Query Interface
SQLExpressionFunction is an SQL function call.
// ABS(-1)
SQLExpressionFunction(.abs, [-1.databaseValue])
-
The function name
Declaration
Swift
public let functionName: SQLFunctionName
-
The function arguments
Declaration
Swift
public let arguments: [SQLExpression]
-
Creates an SQL function call
// ABS(-1) SQLExpressionFunction(.abs, arguments: [-1.databaseValue])
Declaration
Swift
public init(_ functionName: SQLFunctionName, arguments: [SQLExpression])
-
Creates an SQL function call
// ABS(-1) SQLExpressionFunction(.abs, arguments: -1)
Declaration
Swift
public init(_ functionName: SQLFunctionName, arguments: SQLExpressible...)
-
This function is an implementation detail of the query interface. Do not use it directly.
See https://github.com/groue/GRDB.swift/#the-query-interface
Low Level Query Interface
See SQLExpression.expressionSQL(_:arguments:)
Declaration
Swift
public func expressionSQL(_ arguments: inout StatementArguments?) -> String