classDescribeStmtWithDescribeCommandTableIdentOptDescribeColumn_f90b93b9
final class DescribeStmtWithDescribeCommandTableIdentOptDescribeColumn_f90b93b9
implements DescribeStmtForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The describe_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\DescribeStmtWithDescribeCommandTableIdentOptDescribeColumn_f90b93b9 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public DescribeCommandForm $describeCommandpublic TableIdentForm $tableIdentpublic OptDescribeColumnForm $optDescribeColumnpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public DescribeCommandForm $describeCommand,
public TableIdentForm $tableIdent,
public OptDescribeColumnForm $optDescribeColumn,
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
$describeCommand | DescribeCommandForm | |
$tableIdent | TableIdentForm | |
$optDescribeColumn | OptDescribeColumnForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 38
- method-call DescribeCommandForm::write() line 39
- method-call TableIdentForm::write() line 41
- method-call OptDescribeColumnForm::write() line 43
public function withDescribeCommand(DescribeCommandForm $describeCommand): selfReturns a copy with a new describeCommand, preserving every other field.
Parameters
$describeCommand | DescribeCommandForm |
Returns
selfCalls 1
- new
selfline 51
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptDescribeColumn(OptDescribeColumnForm $optDescribeColumn): selfReturns a copy with a new optDescribeColumn, preserving every other field.
Parameters
$optDescribeColumn | OptDescribeColumnForm |
Returns
selfCalls 1
- new
selfline 67