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

The keywords that stand for the current date and time.

Source: https://sqlite.org/lang_expr.html#literal_values_constants_.

Reading which keyword an expression isdoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT current_date');
    $query->statement->columns[0]->expression->keyword // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Literal\TimeKeyword::Date

Cases§

case Time = 'CURRENT_TIME'
case Date = 'CURRENT_DATE'
case Timestamp = 'CURRENT_TIMESTAMP'

Test cases 6§

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

Dedicated tests 3
Other tests reaching this symbol 3

Relations§

Static calls 1
Type declarations 1