enumTimeKeyword
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_.
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT current_date');
$query->statement->columns[0]->expression->keyword // => \SqlSemantics\Platform\Sqlite\Statement\Expression\Literal\TimeKeyword::DateCases§
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.