Skip to content

Type Property

timestamp

Translates to TIMESTAMP, unless overridden by dialect. Represents a type suitable for storing the encoded value of a Date in a form which can be saved to and reloaded from the database without suffering skew caused by time zone calculations.
static var timestamp: SQLDataType { get }

Discussion

Note

Implemented as a static var rather than a new case for now because adding new cases to a public enum is a source-breaking change.