classShowOpenTablesStmtWithShowOpenSymTablesOptDbOptWildOrWhere_844db97b
final class ShowOpenTablesStmtWithShowOpenSymTablesOptDbOptWildOrWhere_844db97b
implements EvSqlStmtForm, EvSqlStmtInnerForm, ShowOpenTablesStmtForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The show_open_tables_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ShowOpenTablesStmtWithShowOpenSymTablesOptDbOptWildOrWhere_844db97b $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptDbForm $optDbpublic OptWildOrWhereForm $optWildOrWherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptDbForm $optDb,
public OptWildOrWhereForm $optWildOrWhere,
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
$optDb | OptDbForm | |
$optWildOrWhere | OptWildOrWhereForm | |
$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 36
- method-call Writer::append() line 37
- method-call OptDbForm::write() line 43
- method-call OptWildOrWhereForm::write() line 45
public function withOptDb(OptDbForm $optDb): selfpublic function withOptWildOrWhere(OptWildOrWhereForm $optWildOrWhere): selfReturns a copy with a new optWildOrWhere, preserving every other field.
Parameters
$optWildOrWhere | OptWildOrWhereForm |
Returns
selfCalls 1
- new
selfline 61