Skip to content

Structure

SQLEnumDataType

Represents a data type which specifies an enumeration in the database.
struct SQLEnumDataType

Overview

Used to hide some of the complexity in supporting SQLEnumSyntax.inline enum syntax. If the dialect does not use inline syntax, reverts to SQLDataType.text.

Instances of this expression are typically embedded within a SQLDataType SQLDataType.custom(_:) case. See enum(_:), enum(_:), and enum(_:),

Topics

Initializers

  • init(cases:)
    Create a new enumeration type with a list of cases.

Instance Methods

Relationships

Conforms To

See Also

Clause Expressions