Skip to content

Instance Method

literalBoolean(_:)

A function which returns an SQL expression (usually an SQLRaw) representing the given literal boolean value.
func literalBoolean(_ value: Bool) -> any SQLExpression

Parameters

value

The boolean value to represent.

Discussion

No default is provided.

See Also

Basics

  • name
    The name of the dialect.
  • identifierQuote
    An expression (usually an SQLRaw) giving the character(s) used to quote SQL identifiers, such as table and column names.
  • literalStringQuote
    An expression (usually an SQLRaw) giving the character(s) used to quote literal string values which appear in a query, such as enumerator names.
  • bindPlaceholder(at:)
    A function which returns an expression to be used as the placeholder for the positionth bound parameter in a query.
  • literalDefault
    An expression (usually an SQLRaw) giving the syntax used to express both “use this as the default value” in a column definition and “use the default value for this column” in a value list.