classTableRefWithRelationExprOptAliasClauseTablesampleClause_e6aaffe3
final class TableRefWithRelationExprOptAliasClauseTablesampleClause_e6aaffe3
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\TableRefWithRelationExprOptAliasClauseTablesampleClause_e6aaffe3 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public RelationExprForm $relationExprpublic OptAliasClauseForm $optAliasClausepublic TablesampleClauseForm $tablesampleClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public RelationExprForm $relationExpr,
public OptAliasClauseForm $optAliasClause,
public TablesampleClauseForm $tablesampleClause,
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
$relationExpr | RelationExprForm | |
$optAliasClause | OptAliasClauseForm | |
$tablesampleClause | TablesampleClauseForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call TableRefWithRelationExprOptAliasClauseTablesampleClause_e6aaffe3::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 4
- method-call Writer::comments() line 38
- method-call RelationExprForm::write() line 39
- method-call OptAliasClauseForm::write() line 41
- method-call TablesampleClauseForm::write() line 43
public function withRelationExpr(RelationExprForm $relationExpr): selfReturns a copy with a new relationExpr, preserving every other field.
Parameters
$relationExpr | RelationExprForm |
Returns
selfCalls 1
- new
selfline 51
public function withOptAliasClause(OptAliasClauseForm $optAliasClause): selfReturns a copy with a new optAliasClause, preserving every other field.
Parameters
$optAliasClause | OptAliasClauseForm |
Returns
selfCalls 1
- new
selfline 59
public function withTablesampleClause(TablesampleClauseForm $tablesampleClause): selfReturns a copy with a new tablesampleClause, preserving every other field.
Parameters
$tablesampleClause | TablesampleClauseForm |
Returns
selfCalls 1
- new
selfline 67