SQLBinaryOperator
public struct SQLBinaryOperator : 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
SQLBinaryOperator is a SQLite binary operator.
-
The SQL operator
Declaration
Swift
public let sql: String -
The SQL for the negated operator, if any
Declaration
Swift
public let negatedSQL: String? -
Creates a binary operator
SQLBinaryOperator("+") SQLBinaryOperator("IS", negated: "IS NOT")Declaration
Swift
public init(_ sql: String, negated: String? = nil) -
Creates a binary operator
SQLBinaryOperator("+") SQLBinaryOperator("IS", negated: "IS NOT")Declaration
Swift
public var hashValue: Int -
Returns the negated binary operator, if any
let operator = SQLBinaryOperator("IS", negated: "IS NOT") operator.negated!.sql // IS NOTDeclaration
Swift
public var negated: SQLBinaryOperator? -
Returns the negated binary operator, if any
let operator = SQLBinaryOperator("IS", negated: "IS NOT") operator.negated!.sql // IS NOTDeclaration
Swift
public static func == (lhs: SQLBinaryOperator, rhs: SQLBinaryOperator) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
View on GitHub
Install in Dash
SQLBinaryOperator Struct Reference