classTableRefWithJoinedTableAliasClause_c50a46c5
final class TableRefWithJoinedTableAliasClause_c50a46c5
implements FromListForm, TableRefForm
uses Assertion
Public API: explicitly declared with
@visibility public.The table_ref SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\TableRefWithJoinedTableAliasClause_c50a46c5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public JoinedTableForm $joinedTablepublic AliasClauseForm $aliasClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public JoinedTableForm $joinedTable,
public AliasClauseForm $aliasClause,
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
$joinedTable | JoinedTableForm | |
$aliasClause | AliasClauseForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call TableRefWithJoinedTableAliasClause_c50a46c5::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 36
- method-call Writer::append() line 37
- method-call JoinedTableForm::write() line 39
- method-call AliasClauseForm::write() line 43
public function withJoinedTable(JoinedTableForm $joinedTable): selfReturns a copy with a new joinedTable, preserving every other field.
Parameters
$joinedTable | JoinedTableForm |
Returns
selfCalls 1
- new
selfline 51
public function withAliasClause(AliasClauseForm $aliasClause): selfReturns a copy with a new aliasClause, preserving every other field.
Parameters
$aliasClause | AliasClauseForm |
Returns
selfCalls 1
- new
selfline 59