classJoinTableWithTableRefLeftOptOuterJoinSymTableRefOnExpr_07dea170
final class JoinTableWithTableRefLeftOptOuterJoinSymTableRefOnExpr_07dea170
implements DerivedTableListForm, EscTableRefForm, FromTablesForm, JoinTableForm, JoinTableListForm, SelectDerivedForm, TableRefForm, TableReferenceListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The join_table SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\JoinTableWithTableRefLeftOptOuterJoinSymTableRefOnExpr_07dea170 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableRefForm $tableRefpublic OptOuterForm $optOuterpublic TableRefForm $tableRef2public ExprForm $exprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableRefForm $tableRef,
public OptOuterForm $optOuter,
public TableRefForm $tableRef2,
public ExprForm $expr,
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
$tableRef | TableRefForm | |
$optOuter | OptOuterForm | |
$tableRef2 | TableRefForm | |
$expr | ExprForm | |
$comments | Comments |
Calls 3
- new Comments line 27
- method-call JoinTableWithTableRefLeftOptOuterJoinSymTableRefOnExpr_07dea170::assert() line 29
- static-call Contracts::contains() line 29
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 40
- method-call TableRefForm::write() line 41
- method-call Writer::append() line 43
- method-call OptOuterForm::write() line 45
- method-call ExprForm::write() line 53
public function withTableRef(TableRefForm $tableRef): selfReturns a copy with a new tableRef, preserving every other field.
Parameters
$tableRef | TableRefForm |
Returns
selfCalls 1
- new
selfline 61
public function withOptOuter(OptOuterForm $optOuter): selfReturns a copy with a new optOuter, preserving every other field.
Parameters
$optOuter | OptOuterForm |
Returns
selfCalls 1
- new
selfline 69
public function withTableRef2(TableRefForm $tableRef2): selfReturns a copy with a new tableRef2, preserving every other field.
Parameters
$tableRef2 | TableRefForm |
Returns
selfCalls 1
- new
selfline 77
public function withExpr(ExprForm $expr): self