SQLExpressionBinary
public struct SQLExpressionBinary : 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
SQLExpressionBinary is an expression made of two expressions joined with a binary operator.
SQLExpressionBinary(.multiply, Column("length"), Column("width"))
-
The left operand
Declaration
Swift
public let lhs: SQLExpression
-
The operator
Declaration
Swift
public let op: SQLBinaryOperator
-
The right operand
Declaration
Swift
public let rhs: SQLExpression
-
Creates an expression made of two expressions joined with a binary operator.
// length * width SQLExpressionBinary(.multiply, Column("length"), Column("width"))
Declaration
Swift
public init(_ op: SQLBinaryOperator, _ lhs: SQLExpressible, _ rhs: 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
-
This property 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.negated
Declaration
Swift
public var negated: SQLExpression