classShowKeysStmtWithShowOptExtendedKeysOrIndexFromOrInTableIdentOptDbOptWhereClause_d5ca9560
final class ShowKeysStmtWithShowOptExtendedKeysOrIndexFromOrInTableIdentOptDbOptWhereClause_d5ca9560
implements EvSqlStmtForm, EvSqlStmtInnerForm, ShowKeysStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The show_keys_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ShowKeysStmtWithShowOptExtendedKeysOrIndexFromOrInTableIdentOptDbOptWhereClause_d5ca9560 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptExtendedForm $optExtendedpublic KeysOrIndexForm $keysOrIndexpublic FromOrInForm $fromOrInpublic TableIdentForm $tableIdentpublic OptDbForm $optDbpublic OptWhereClauseForm $wherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptExtendedForm $optExtended,
public KeysOrIndexForm $keysOrIndex,
public FromOrInForm $fromOrIn,
public TableIdentForm $tableIdent,
public OptDbForm $optDb,
public OptWhereClauseForm $where,
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
$optExtended | OptExtendedForm | |
$keysOrIndex | KeysOrIndexForm | |
$fromOrIn | FromOrInForm | |
$tableIdent | TableIdentForm | |
$optDb | OptDbForm | |
$where | OptWhereClauseForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 8
- method-call Writer::comments() line 44
- method-call Writer::append() line 45
- method-call OptExtendedForm::write() line 47
- method-call KeysOrIndexForm::write() line 49
- method-call FromOrInForm::write() line 51
- method-call TableIdentForm::write() line 53
- method-call OptDbForm::write() line 55
- method-call OptWhereClauseForm::write() line 57
public function withOptExtended(OptExtendedForm $optExtended): selfReturns a copy with a new optExtended, preserving every other field.
Parameters
$optExtended | OptExtendedForm |
Returns
selfCalls 1
- new
selfline 65
public function withKeysOrIndex(KeysOrIndexForm $keysOrIndex): selfReturns a copy with a new keysOrIndex, preserving every other field.
Parameters
$keysOrIndex | KeysOrIndexForm |
Returns
selfCalls 1
- new
selfline 73
public function withFromOrIn(FromOrInForm $fromOrIn): selfReturns a copy with a new fromOrIn, preserving every other field.
Parameters
$fromOrIn | FromOrInForm |
Returns
selfCalls 1
- new
selfline 81
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 89
public function withOptDb(OptDbForm $optDb): selfpublic function withWhere(OptWhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | OptWhereClauseForm |
Returns
selfCalls 1
- new
selfline 105