classHandlerStmtWithHandlerSymIdentReadSymIdentHandlerRkeyModeValuesOptWhereClauseOptLimitClaus_0dfa400d
final class HandlerStmtWithHandlerSymIdentReadSymIdentHandlerRkeyModeValuesOptWhereClauseOptLimitClaus_0dfa400d
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\HandlerStmtWithHandlerSymIdentReadSymIdentHandlerRkeyModeValuesOptWhereClauseOptLimitClaus_0dfa400d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IdentForm $identpublic IdentForm $ident2public HandlerRkeyModeForm $handlerRkeyModepublic ValuesForm $valuespublic OptWhereClauseForm $wherepublic OptLimitClauseForm $optLimitClausepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IdentForm $ident,
public IdentForm $ident2,
public HandlerRkeyModeForm $handlerRkeyMode,
public ValuesForm $values,
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 | |
$handlerRkeyMode | HandlerRkeyModeForm | |
$values | ValuesForm | |
$where | OptWhereClauseForm | |
$optLimitClause | OptLimitClauseForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 44
- method-call Writer::append() line 45
- method-call IdentForm::write() line 47
- method-call HandlerRkeyModeForm::write() line 53
- method-call ValuesForm::write() line 57
- method-call OptWhereClauseForm::write() line 61
- method-call OptLimitClauseForm::write() line 63
public function withIdent(IdentForm $ident): selfpublic function withIdent2(IdentForm $ident2): selfpublic function withHandlerRkeyMode(HandlerRkeyModeForm $handlerRkeyMode): selfReturns a copy with a new handlerRkeyMode, preserving every other field.
Parameters
$handlerRkeyMode | HandlerRkeyModeForm |
Returns
selfCalls 1
- new
selfline 87
public function withValues(ValuesForm $values): selfReturns a copy with a new values, preserving every other field.
Parameters
$values | ValuesForm |
Returns
selfCalls 1
- new
selfline 95
public function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 103
public function withOptLimitClause(OptLimitClauseForm $optLimitClause): selfReturns a copy with a new optLimitClause, preserving every other field.
Parameters
$optLimitClause | OptLimitClauseForm |
Returns
selfCalls 1
- new
selfline 111