enumTimestampOperation
enum TimestampOperation: string
Public API: explicitly declared with
@visibility public.The two functions that take a unit before two operands: TIMESTAMPADD and TIMESTAMPDIFF.
Each case holds the keyword. Source: https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timestampadd.
\SqlSemantics\Platform\MySql\Statement\Call\Temporal\TimestampOperation::Difference->value // => 'TIMESTAMPDIFF'Cases§
case Add = 'TIMESTAMPADD'case Difference = 'TIMESTAMPDIFF'Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Constant reads 3
- class-const SqlSemantics\Platform\MySql\Lowering\Call\TemporalRule::call() packages/sql-semantics-mysql/src/Lowering/Call/TemporalRule.php:118
- class-const SqlSemantics\Platform\MySql\Lowering\Call\TemporalRule::call() packages/sql-semantics-mysql/src/Lowering/Call/TemporalRule.php:119
- class-const SqlSemantics\Platform\MySql\Statement\Call\Temporal\TimestampCall::deriveScalar() packages/sql-semantics-mysql/src/Statement/Call/Temporal/TimestampCall.php:59