enum TemporalFormat: string
Public API: explicitly declared with @visibility public.

The kind of value GET_FORMAT returns a format string for.

Each case holds the keyword; TIMESTAMP and DATETIME give the same formats. Source: https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_get-format.

Reading the keyword of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Call\Temporal\TemporalFormat::DateTime->value // => 'DATETIME'

Cases§

case Date = 'DATE'
case Time = 'TIME'
case Timestamp = 'TIMESTAMP'
case DateTime = 'DATETIME'

Test cases 5§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 4

Relations§

Constant reads 4
Type declarations 2