classShowParamWithKeysOrIndexFromOrInTableIdentOptDbWhereClause_7b825ea6
final class ShowParamWithKeysOrIndexFromOrInTableIdentOptDbWhereClause_7b825ea6
implements ShowParamForm
uses Assertion
Public API: explicitly declared with
@visibility public.The show_param SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ShowParamWithKeysOrIndexFromOrInTableIdentOptDbWhereClause_7b825ea6 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public KeysOrIndexForm $keysOrIndexpublic FromOrInForm $fromOrInpublic TableIdentForm $tableIdentpublic OptDbForm $optDbpublic WhereClauseForm $wherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public KeysOrIndexForm $keysOrIndex,
public FromOrInForm $fromOrIn,
public TableIdentForm $tableIdent,
public OptDbForm $optDb,
public WhereClauseForm $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
$keysOrIndex | KeysOrIndexForm | |
$fromOrIn | FromOrInForm | |
$tableIdent | TableIdentForm | |
$optDb | OptDbForm | |
$where | WhereClauseForm | |
$comments | Comments |
Calls 3
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 KeysOrIndexForm::write() line 43
- method-call FromOrInForm::write() line 45
- method-call TableIdentForm::write() line 47
- method-call OptDbForm::write() line 49
- method-call WhereClauseForm::write() line 51
public function withKeysOrIndex(KeysOrIndexForm $keysOrIndex): selfReturns a copy with a new keysOrIndex, preserving every other field.
Parameters
$keysOrIndex | KeysOrIndexForm |
Returns
selfCalls 1
- new
selfline 59
public function withFromOrIn(FromOrInForm $fromOrIn): selfReturns a copy with a new fromOrIn, preserving every other field.
Parameters
$fromOrIn | FromOrInForm |
Returns
selfCalls 1
- new
selfline 67
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptDb(OptDbForm $optDb): selfpublic function withWhere(WhereClauseForm $where): selfReturns a copy with a new where, preserving every other field.
Parameters
$where | WhereClauseForm |
Returns
selfCalls 1
- new
selfline 91