final class EventTailWithEventSymOptIfNotExistsSpNameOnScheduleSymEvScheduleTimeOptEvOnCompletionOpt_a32cdc19
    implements DefinerTailForm, EventTailForm, NoDefinerTailForm
    uses Assertion
Public API: explicitly declared with @visibility public.

The event_tail SQL value; generated by bin/build-models.php.

Accept a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\EventTailWithEventSymOptIfNotExistsSpNameOnScheduleSymEvScheduleTimeOptEvOnCompletionOpt_a32cdc19 $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Properties§

public OptIfNotExistsForm $optIfNotExists
public SpNameForm $spName
public EvScheduleTimeForm $evScheduleTime
public OptEvOnCompletionForm $optEvOnCompletion
public OptEvStatusForm $optEvStatus
public OptEvCommentForm $optEvComment
public EvSqlStmtForm $evSqlStmt
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public OptIfNotExistsForm $optIfNotExists,
    public SpNameForm $spName,
    public EvScheduleTimeForm $evScheduleTime,
    public OptEvOnCompletionForm $optEvOnCompletion,
    public OptEvStatusForm $optEvStatus,
    public OptEvCommentForm $optEvComment,
    public EvSqlStmtForm $evSqlStmt,
    public Comments $comments = new \SqlSemantics\Statement\Comments(),
)

Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.

Parameters

$optIfNotExistsOptIfNotExistsForm
$spNameSpNameForm
$evScheduleTimeEvScheduleTimeForm
$optEvOnCompletionOptEvOnCompletionForm
$optEvStatusOptEvStatusForm
$optEvCommentOptEvCommentForm
$evSqlStmtEvSqlStmtForm
$commentsComments
Calls 3
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 9
public function withOptIfNotExists(OptIfNotExistsForm $optIfNotExists): self

Returns a copy with a new optIfNotExists, preserving every other field.

Parameters

$optIfNotExistsOptIfNotExistsForm

Returns

self
Calls 1
public function withSpName(SpNameForm $spName): self

Returns a copy with a new spName, preserving every other field.

Parameters

$spNameSpNameForm

Returns

self
Calls 1
public function withEvScheduleTime(EvScheduleTimeForm $evScheduleTime): self

Returns a copy with a new evScheduleTime, preserving every other field.

Parameters

$evScheduleTimeEvScheduleTimeForm

Returns

self
Calls 1
public function withOptEvOnCompletion(OptEvOnCompletionForm $optEvOnCompletion): self

Returns a copy with a new optEvOnCompletion, preserving every other field.

Parameters

$optEvOnCompletionOptEvOnCompletionForm

Returns

self
Calls 1
public function withOptEvStatus(OptEvStatusForm $optEvStatus): self

Returns a copy with a new optEvStatus, preserving every other field.

Parameters

$optEvStatusOptEvStatusForm

Returns

self
Calls 1
public function withOptEvComment(OptEvCommentForm $optEvComment): self

Returns a copy with a new optEvComment, preserving every other field.

Parameters

$optEvCommentOptEvCommentForm

Returns

self
Calls 1
public function withEvSqlStmt(EvSqlStmtForm $evSqlStmt): self

Returns a copy with a new evSqlStmt, preserving every other field.

Parameters

$evSqlStmtEvSqlStmtForm

Returns

self
Calls 1
public function withComments(Comments $comments): self

Returns a copy with a new comments, preserving every other field.

Parameters

$commentsComments

Returns

self
Calls 1