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.

  • sql

    The SQL function name

    Declaration

    Swift

    public let sql: String
  • Creates a function name

    SQLFunctionName("ABS")
    

    Declaration

    Swift

    public init(_ sql: String)
  • Creates a function name

    SQLFunctionName("ABS")
    

    Declaration

    Swift

    public var hashValue: Int
  • Creates a function name

    SQLFunctionName("ABS")
    

    Declaration

    Swift

    public static func ==(lhs: SQLFunctionName, rhs: SQLFunctionName) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

  • abs

    The ABS function name

    Declaration

    Swift

    public static let abs = SQLFunctionName("ABS")
  • avg

    The AVG function name

    Declaration

    Swift

    public static let avg = SQLFunctionName("AVG")
  • The IFNULL function name

    Declaration

    Swift

    public static let ifNull = SQLFunctionName("IFNULL")
  • The LENGTH function name

    Declaration

    Swift

    public static let length = SQLFunctionName("LENGTH")
  • max

    The MAX function name

    Declaration

    Swift

    public static let max = SQLFunctionName("MAX")
  • min

    The MIN function name

    Declaration

    Swift

    public static let min = SQLFunctionName("MIN")
  • sum

    The SUM function name

    Declaration

    Swift

    public static let sum = SQLFunctionName("SUM")