SQLExpressionUnary
public struct SQLExpressionUnary : 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
SQLExpressionUnary is an expression made of an unary operator and an operand expression.
SQLExpressionUnary(.not, Column("favorite"))
-
The unary operator
Declaration
Swift
public let op: SQLUnaryOperator
-
The operand
Declaration
Swift
public let expression: SQLExpression
-
Creates an expression made of an unary operator and an operand expression.
// NOT favorite SQLExpressionUnary(.not, Column("favorite"))
Declaration
Swift
public init(_ op: SQLUnaryOperator, _ value: 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