classJoinTableWithTableRefStraightJoinTableFactorOnExpr_59f498cc
final class JoinTableWithTableRefStraightJoinTableFactorOnExpr_59f498cc
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\JoinTableWithTableRefStraightJoinTableFactorOnExpr_59f498cc $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public TableRefForm $tableRefpublic TableFactorForm $tableFactorpublic ExprForm $exprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public TableRefForm $tableRef,
public TableFactorForm $tableFactor,
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 | |
$tableFactor | TableFactorForm | |
$expr | ExprForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call JoinTableWithTableRefStraightJoinTableFactorOnExpr_59f498cc::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 5
- method-call Writer::comments() line 38
- method-call TableRefForm::write() line 39
- method-call Writer::append() line 41
- method-call TableFactorForm::write() line 43
- method-call ExprForm::write() line 47
public function withTableRef(TableRefForm $tableRef): selfReturns a copy with a new tableRef, preserving every other field.
Parameters
$tableRef | TableRefForm |
Returns
selfCalls 1
- new
selfline 55
public function withTableFactor(TableFactorForm $tableFactor): selfReturns a copy with a new tableFactor, preserving every other field.
Parameters
$tableFactor | TableFactorForm |
Returns
selfCalls 1
- new
selfline 63
public function withExpr(ExprForm $expr): self