SQLExpressible
public protocol SQLExpressible
SQLExpressible
is the protocol for all types that can be used as an
SQL expression.
It is adopted by protocols like DatabaseValueConvertible
, and types
like Column
.
See https://github.com/groue/GRDB.swift/#the-query-interface
-
Returns an SQL expression.
Declaration
Swift
var sqlExpression: SQLExpression { get }
-
sqlExpression
Default implementationDefault Implementation
Returns the raw value as an SQL expression.
Declaration
Swift
public var sqlExpression: SQLExpression { get }
-
rowID
Extension methodThe hidden rowID column
Declaration
Swift
public static var rowID: Self { get }