SQLUnaryOperator
public struct SQLUnaryOperator : 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
SQLUnaryOperator is a SQLite unary operator.
-
The SQL operator
Declaration
Swift
public let sql: String
-
If true GRDB puts a white space between the operator and the operand.
Declaration
Swift
public let needsRightSpace: Bool
-
Creates an unary operator
SQLUnaryOperator("~", needsRightSpace: false)
Declaration
Swift
public init(_ sql: String, needsRightSpace: Bool)
-
Declaration
Swift
public var hashValue: Int
-
Declaration
Swift
public static func == (lhs: SQLUnaryOperator, rhs: SQLUnaryOperator) -> Bool
Parameters
lhs
rhs
-
The
-
unary operatorDeclaration
Swift
public static let minus = SQLUnaryOperator("-", needsRightSpace: false)