interface Schedule
    extends Node
Public API: explicitly declared with @visibility public.

When an event runs: once at a time, or repeatedly at an interval.

Source: https://dev.mysql.com/doc/refman/8.4/en/create-event.html.

Telling the kinds of schedule apartdoctest
$create = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('CREATE EVENT e ON SCHEDULE EVERY 1 DAY DO SELECT 1');
    $create->statement->schedule instanceof \SqlSemantics\Platform\MySql\Statement\Routine\Event\RecurringSchedule // => true

Methods§

public function deriveSchedule(Derivation $derivation, Environment $environment): void

Derives the expressions of the schedule in the scope of the statement: inside a stored program they see its variables.

Parameters

$derivationDerivation
$environmentEnvironment

Test cases 1§

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

Dedicated tests 1

Relations§

Implemented by 2
Type declarations 4