SQLSpecificExpressible

A database-specific type that can be used as an SQL expression.

SQLExpression.swift:2238
protocol SQLSpecificExpressible : SQLExpressible, SQLOrderingTerm, SQLSelectable
Browse conforming types

SQLSpecificExpressible is the protocol for all database-specific types that can be turned into an SQL expression. Types whose existence is not purely dedicated to the database should adopt the SQLExpressible protocol instead.

For example, Column is a type that only exists to help you build requests, and it adopts SQLSpecificExpressible.

On the other side, Int adopts SQLExpressible.

Applying a Collation

SQL Functions & Operators

See also JSON functions in JSON Support.

Interpreting an expression as JSON

Creating Ordering Terms

Creating Result Columns