Enumeration
SQLBinaryOperator
SQL binary expression operators.
enum SQLBinaryOperator
Topics
Enumeration Cases
case addArithmetic addition, or+.case andLogical conjunction, orAND.case concatenateString concatenation, or||.case divideArithmetic division, or/.case equalEquality.=or==in most dialects.case greaterThanArranged in descending order, or>.case greaterThanOrEqualNot arranged in ascending order, or>=.case `in`Set membership, orIN.case `is`Typed identity, orIS.case isNotTyped dissimilarity, orIS NOT.case lessThanArranged in ascending order, or<.case lessThanOrEqualNot arranged in descending order, or<=.case likeSQL pattern match, orLIKE.case moduloArithmetic remainder, or%.case multiplyArithmetic multiplication, or*.case notEqualInequality.!=or<>in most dialects.case notInSet exclusion, orNOT IN.case notLikeSQL pattern mismatch, orNOT LIKE.case orLogical disjunction, orOR.case subtractArithmetic subtraction, or-.
Instance Methods
func serialize(to: inout SQLSerializer)Invoked when a request is made to serialize the expression to raw SQL.
Relationships
Conforms To
SQLExpressionSwift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype
See Also
Syntactic Expressions
struct SQLBinaryExpressionA fundamental syntactical expression - a left and right operand joined by an infix operator.struct SQLBindA parameterizied value bound to the SQL query.struct SQLFunctionA call to a function available in SQL, expressed as a name and a (possibly empty) list of arguments.struct SQLGroupExpressionA fundamental syntactical expression - an arbitrary expression or list of expressions, surroudned by parenthesis.struct SQLIdentifierA fundamental syntactical expression - a quoted identifier (also often referred to as a “name” or “object name”).struct SQLListA fundamental syntactical expression - a list of subexpresions with a specified “separator” subexpression.enum SQLLiteralA fundamental syntactical expression - one of several various kinds of literal SQL expressions.struct SQLRawA fundamental syntactical expression - an arbitrary string of raw SQL with no escaping or formating of any kind.