Skip to content

Type Method

enum(_:)

Translates to an enumeration including the specified list of cases.
static func `enum`(_ cases: [any SQLExpression]) -> SQLDataType

Parameters

cases

The list of cases in the numeration.

Return Value

An appropriate SQLDataType.