classJoinTableWithTableRefNormalJoinTableRef_c502a929
final class JoinTableWithTableRefNormalJoinTableRef_c502a929
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\JoinTableWithTableRefNormalJoinTableRef_c502a929 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableRefForm $tableRefpublic NormalJoinForm $normalJoinpublic TableRefForm $tableRef2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableRefForm $tableRef,
public NormalJoinForm $normalJoin,
public TableRefForm $tableRef2,
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 | |
$normalJoin | NormalJoinForm | |
$tableRef2 | TableRefForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call JoinTableWithTableRefNormalJoinTableRef_c502a929::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 38
- method-call TableRefForm::write() line 39
- method-call NormalJoinForm::write() line 41
public function withTableRef(TableRefForm $tableRef): selfReturns a copy with a new tableRef, preserving every other field.
Parameters
$tableRef | TableRefForm |
Returns
selfCalls 1
- new
selfline 51
public function withNormalJoin(NormalJoinForm $normalJoin): selfReturns a copy with a new normalJoin, preserving every other field.
Parameters
$normalJoin | NormalJoinForm |
Returns
selfCalls 1
- new
selfline 59
public function withTableRef2(TableRefForm $tableRef2): selfReturns a copy with a new tableRef2, preserving every other field.
Parameters
$tableRef2 | TableRefForm |
Returns
selfCalls 1
- new
selfline 67