SQLFunctionName
public struct SQLFunctionName : Hashable
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
SQLFunctionName is an SQL function name.
-
The SQL function name
Declaration
Swift
public let sql: String
-
Creates a function name
SQLFunctionName("ABS")
Declaration
Swift
public init(_ sql: String)
-
Declaration
Swift
public var hashValue: Int
-
Declaration
Swift
public static func == (lhs: SQLFunctionName, rhs: SQLFunctionName) -> Bool
Parameters
lhs
rhs
-
The
ABS
function nameDeclaration
Swift
public static let abs = SQLFunctionName("ABS")
-
The
AVG
function nameDeclaration
Swift
public static let avg = SQLFunctionName("AVG")
-
The
IFNULL
function nameDeclaration
Swift
public static let ifNull = SQLFunctionName("IFNULL")
-
The
LENGTH
function nameDeclaration
Swift
public static let length = SQLFunctionName("LENGTH")
-
The
MAX
function nameDeclaration
Swift
public static let max = SQLFunctionName("MAX")
-
The
MIN
function nameDeclaration
Swift
public static let min = SQLFunctionName("MIN")
-
The
SUM
function nameDeclaration
Swift
public static let sum = SQLFunctionName("SUM")