SQLUnaryOperator
public struct SQLUnaryOperator : Hashable
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
-
Declaration
Swift
public init(_ sql: String, needsRightSpace: Bool)
-
The hash value
Declaration
Swift
public var hashValue: Int
-
Equality operator
Declaration
Swift
public static func == (lhs: SQLUnaryOperator, rhs: SQLUnaryOperator) -> Bool
-
The
-
unary operatorDeclaration
Swift
public static let minus = SQLUnaryOperator("-", needsRightSpace: false)