classSelectFromWithFromJoinTableListWhereClauseGroupClauseHavingClauseOptOrderClauseOptLimitCl_11395c2a
final class SelectFromWithFromJoinTableListWhereClauseGroupClauseHavingClauseOptOrderClauseOptLimitCl_11395c2a
implements SelectFromForm, SelectIntoForm
uses Assertion
Public API: explicitly declared with
@visibility public.The select_from SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SelectFromWithFromJoinTableListWhereClauseGroupClauseHavingClauseOptOrderClauseOptLimitCl_11395c2a $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public JoinTableListForm $joinTableListpublic WhereClauseForm $wherepublic GroupClauseForm $groupBypublic HavingClauseForm $havingpublic OptOrderClauseForm $orderBypublic OptLimitClauseForm $optLimitClausepublic ProcedureAnalyseClauseForm $procedureAnalyseClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public JoinTableListForm $joinTableList,
public WhereClauseForm $where,
public GroupClauseForm $groupBy,
public HavingClauseForm $having,
public OptOrderClauseForm $orderBy,
public OptLimitClauseForm $optLimitClause,
public ProcedureAnalyseClauseForm $procedureAnalyseClause,
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
$joinTableList | JoinTableListForm | |
$where | WhereClauseForm | |
$groupBy | GroupClauseForm | |
$having | HavingClauseForm | |
$orderBy | OptOrderClauseForm | |
$optLimitClause | OptLimitClauseForm | |
$procedureAnalyseClause | ProcedureAnalyseClauseForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 9
- method-call Writer::comments() line 46
- method-call Writer::append() line 47
- method-call JoinTableListForm::write() line 49
- method-call WhereClauseForm::write() line 51
- method-call GroupClauseForm::write() line 53
- method-call HavingClauseForm::write() line 55
- method-call OptOrderClauseForm::write() line 57
- method-call OptLimitClauseForm::write() line 59
- method-call ProcedureAnalyseClauseForm::write() line 61
public function withJoinTableList(JoinTableListForm $joinTableList): selfReturns a copy with a new joinTableList, preserving every other field.
Parameters
$joinTableList | JoinTableListForm |
Returns
selfCalls 1
- new
selfline 69
public function withWhere(WhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereClauseForm |
Returns
selfCalls 1
- new
selfline 77
public function withGroupBy(GroupClauseForm $groupBy): selfReturns a copy with a new groupBy, preserving every other field.
Parameters
$groupBy | GroupClauseForm |
Returns
selfCalls 1
- new
selfline 85
public function withHaving(HavingClauseForm $having): selfReturns a copy with a new having, preserving every other field.
Parameters
$having | HavingClauseForm |
Returns
selfCalls 1
- new
selfline 93
public function withOrderBy(OptOrderClauseForm $orderBy): selfReturns a copy with a new orderBy, preserving every other field.
Parameters
$orderBy | OptOrderClauseForm |
Returns
selfCalls 1
- new
selfline 101
public function withOptLimitClause(OptLimitClauseForm $optLimitClause): selfReturns a copy with a new optLimitClause, preserving every other field.
Parameters
$optLimitClause | OptLimitClauseForm |
Returns
selfCalls 1
- new
selfline 109
public function withProcedureAnalyseClause(ProcedureAnalyseClauseForm $procedureAnalyseClause): selfReturns a copy with a new procedureAnalyseClause, preserving every other field.
Parameters
$procedureAnalyseClause | ProcedureAnalyseClauseForm |
Returns
selfCalls 1
- new
selfline 117