classHandlerStmtWithHandlerSymIdentReadSymIdentHandlerRkeyFunctionOptWhereClauseOptLimitClause_80e518c1
final class HandlerStmtWithHandlerSymIdentReadSymIdentHandlerRkeyFunctionOptWhereClauseOptLimitClause_80e518c1
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\HandlerStmtWithHandlerSymIdentReadSymIdentHandlerRkeyFunctionOptWhereClauseOptLimitClause_80e518c1 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic IdentForm $ident2public HandlerRkeyFunctionForm $handlerRkeyFunctionpublic OptWhereClauseForm $wherepublic OptLimitClauseForm $optLimitClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public IdentForm $ident2,
public HandlerRkeyFunctionForm $handlerRkeyFunction,
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 | |
$ident2 | IdentForm | |
$handlerRkeyFunction | HandlerRkeyFunctionForm | |
$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 42
- method-call Writer::append() line 43
- method-call IdentForm::write() line 45
- method-call HandlerRkeyFunctionForm::write() line 51
- method-call OptWhereClauseForm::write() line 53
- method-call OptLimitClauseForm::write() line 55
public function withIdent(IdentForm $ident): selfpublic function withIdent2(IdentForm $ident2): selfpublic function withHandlerRkeyFunction(HandlerRkeyFunctionForm $handlerRkeyFunction): selfReturns a copy with a new handlerRkeyFunction, preserving every other field.
Parameters
$handlerRkeyFunction | HandlerRkeyFunctionForm |
Returns
selfCalls 1
- new
selfline 79
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 87
public function withOptLimitClause(OptLimitClauseForm $optLimitClause): selfReturns a copy with a new optLimitClause, preserving every other field.
Parameters
$optLimitClause | OptLimitClauseForm |
Returns
selfCalls 1
- new
selfline 95