SQLExpressionBinary
public struct SQLExpressionBinary : SQLExpression
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)
-
Declaration
Swift
public func expressionSQL(_ arguments: inout StatementArguments?) -> String
-
Declaration
Swift
public var negated: SQLExpression
-
Declaration
Swift
public func matchedRowIds(rowIdName: String?) -> Set<Int64>?