classShowProfileStmtWithShowProfileSymOptProfileDefsOptForQueryOptLimitClause_5bb7b5fb
final class ShowProfileStmtWithShowProfileSymOptProfileDefsOptForQueryOptLimitClause_5bb7b5fb
implements EvSqlStmtForm, EvSqlStmtInnerForm, ShowProfileStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The show_profile_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ShowProfileStmtWithShowProfileSymOptProfileDefsOptForQueryOptLimitClause_5bb7b5fb $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptProfileDefsForm $optProfileDefspublic OptForQueryForm $optForQuerypublic OptLimitClauseForm $optLimitClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptProfileDefsForm $optProfileDefs,
public OptForQueryForm $optForQuery,
public OptLimitClauseForm $optLimitClause,
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
$optProfileDefs | OptProfileDefsForm | |
$optForQuery | OptForQueryForm | |
$optLimitClause | OptLimitClauseForm | |
$comments | Comments |
Calls 3
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 Writer::append() line 39
- method-call OptProfileDefsForm::write() line 43
- method-call OptForQueryForm::write() line 45
- method-call OptLimitClauseForm::write() line 47
public function withOptProfileDefs(OptProfileDefsForm $optProfileDefs): selfReturns a copy with a new optProfileDefs, preserving every other field.
Parameters
$optProfileDefs | OptProfileDefsForm |
Returns
selfCalls 1
- new
selfline 55
public function withOptForQuery(OptForQueryForm $optForQuery): selfReturns a copy with a new optForQuery, preserving every other field.
Parameters
$optForQuery | OptForQueryForm |
Returns
selfCalls 1
- new
selfline 63
public function withOptLimitClause(OptLimitClauseForm $optLimitClause): selfReturns a copy with a new optLimitClause, preserving every other field.
Parameters
$optLimitClause | OptLimitClauseForm |
Returns
selfCalls 1
- new
selfline 71