classHandlerStmtWithHandlerSymIdentReadSymHandlerScanFunctionOptWhereClauseOptLimitClause_f9f50968
final class HandlerStmtWithHandlerSymIdentReadSymHandlerScanFunctionOptWhereClauseOptLimitClause_f9f50968
implements EvSqlStmtForm, EvSqlStmtInnerForm, HandlerStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The handler_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\HandlerStmtWithHandlerSymIdentReadSymHandlerScanFunctionOptWhereClauseOptLimitClause_f9f50968 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic HandlerScanFunctionForm $handlerScanFunctionpublic OptWhereClauseForm $wherepublic OptLimitClauseForm $optLimitClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public HandlerScanFunctionForm $handlerScanFunction,
public OptWhereClauseForm $where,
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
$ident | IdentForm | |
$handlerScanFunction | HandlerScanFunctionForm | |
$where | OptWhereClauseForm | |
$optLimitClause | OptLimitClauseForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call IdentForm::write() line 43
- method-call HandlerScanFunctionForm::write() line 47
- method-call OptWhereClauseForm::write() line 49
- method-call OptLimitClauseForm::write() line 51
public function withIdent(IdentForm $ident): selfpublic function withHandlerScanFunction(HandlerScanFunctionForm $handlerScanFunction): selfReturns a copy with a new handlerScanFunction, preserving every other field.
Parameters
$handlerScanFunction | HandlerScanFunctionForm |
Returns
selfCalls 1
- new
selfline 67
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptLimitClause(OptLimitClauseForm $optLimitClause): selfReturns a copy with a new optLimitClause, preserving every other field.
Parameters
$optLimitClause | OptLimitClauseForm |
Returns
selfCalls 1
- new
selfline 83