final class CmdWithWithInsertCmdIntoXfullnameIdlistOptSelectUpsert_8f9aafcd
    implements CmdForm, CmdxForm, Command
    uses Assertion
Public API: explicitly declared with @visibility public.

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

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

Properties§

public WithForm $with
public InsertCmdForm $insertCmd
public XfullnameForm $xfullname
public IdlistOptForm $idlistOpt
public SelectForm $select
public UpsertForm $upsert
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public WithForm $with,
    public InsertCmdForm $insertCmd,
    public XfullnameForm $xfullname,
    public IdlistOptForm $idlistOpt,
    public SelectForm $select,
    public UpsertForm $upsert,
    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

$withWithForm
$insertCmdInsertCmdForm
$xfullnameXfullnameForm
$idlistOptIdlistOptForm
$selectSelectForm
$upsertUpsertForm
$commentsComments
Calls 3
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 8
public function withWith(WithForm $with): self

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

Parameters

Returns

self
Calls 1
public function withInsertCmd(InsertCmdForm $insertCmd): self

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

Parameters

$insertCmdInsertCmdForm

Returns

self
Calls 1
public function withXfullname(XfullnameForm $xfullname): self

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

Parameters

$xfullnameXfullnameForm

Returns

self
Calls 1
public function withIdlistOpt(IdlistOptForm $idlistOpt): self

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

Parameters

$idlistOptIdlistOptForm

Returns

self
Calls 1
public function withSelect(SelectForm $select): self

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

Parameters

$selectSelectForm

Returns

self
Calls 1
public function withUpsert(UpsertForm $upsert): self

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

Parameters

$upsertUpsertForm

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