Skip to content

Enumeration

SQLLiteral

A fundamental syntactical expression - one of several various kinds of literal SQL expressions.
enum SQLLiteral

Topics

Enumeration Cases

  • SQLLiteral.all
    The * symbol, when used as a column name (but not when used as the multiplication operator), meaning “all columns”.
  • SQLLiteral.boolean(_:)
    A literal expression representing a boolean literal in the current dialect.
  • SQLLiteral.default
    A literal expression representing the current dialect’s equivalent of the DEFAULT keyword.
  • SQLLiteral.null
    A literal expression representing a NULL SQL value in the current dialect.
  • SQLLiteral.numeric(_:)
    A literal expression representing a numeric literal in the current dialect.
  • SQLLiteral.string(_:)
    A literal expression representing a literal string in the current dialect.

Instance Methods

  • serialize(to:)
    Invoked when a request is made to serialize the expression to raw SQL.

Relationships

Conforms To

See Also

Syntactic Expressions

  • SQLBinaryExpression
    A fundamental syntactical expression - a left and right operand joined by an infix operator.
  • SQLBinaryOperator
    SQL binary expression operators.
  • SQLBind
    A parameterizied value bound to the SQL query.
  • SQLFunction
    A call to a function available in SQL, expressed as a name and a (possibly empty) list of arguments.
  • SQLGroupExpression
    A fundamental syntactical expression - an arbitrary expression or list of expressions, surroudned by parenthesis.
  • SQLIdentifier
    A fundamental syntactical expression - a quoted identifier (also often referred to as a “name” or “object name”).
  • SQLList
    A fundamental syntactical expression - a list of subexpresions with a specified “separator” subexpression.
  • SQLRaw
    A fundamental syntactical expression - an arbitrary string of raw SQL with no escaping or formating of any kind.