final class SimpleSelectWithSelectClauseExceptSetQuantifierSelectClause_5a7ba6bd
    implements ExplainableStmtForm, PreparableStmtForm, RuleActionListForm, RuleActionMultiForm, RuleActionStmtForm, RuleActionStmtOrEmptyForm, SelectStmtForm, InsertRestForm, ParseToplevelForm, RoutineBodyStmtForm, SelectClauseForm, SelectNoParensForm, SimpleSelectForm, StmtForm, StmtmultiForm, ToplevelStmtForm, Command
    uses Assertion
Public API: explicitly declared with @visibility public.

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

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

Properties§

public SelectClauseForm $selectClause
public SetQuantifierForm $setQuantifier
public SelectClauseForm $selectClause2
public Comments $comments = new \SqlSemantics\Statement\Comments()

Methods§

public function __construct(
    public SelectClauseForm $selectClause,
    public SetQuantifierForm $setQuantifier,
    public SelectClauseForm $selectClause2,
    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

$selectClauseSelectClauseForm
$setQuantifierSetQuantifierForm
$selectClause2SelectClauseForm
$commentsComments
Calls 3
public function write(Writer $writer): void

Writes SQL entirely from this value's fields.

Parameters

$writerWriter
Calls 4
public function withSelectClause(SelectClauseForm $selectClause): self

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

Parameters

$selectClauseSelectClauseForm

Returns

self
Calls 1
public function withSetQuantifier(SetQuantifierForm $setQuantifier): self

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

Parameters

$setQuantifierSetQuantifierForm

Returns

self
Calls 1
public function withSelectClause2(SelectClauseForm $selectClause2): self

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

Parameters

$selectClause2SelectClauseForm

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