classShowParamWithOptFullTablesOptDbWildAndWhere_7eff897e
final class ShowParamWithOptFullTablesOptDbWildAndWhere_7eff897e
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\ShowParamWithOptFullTablesOptDbWildAndWhere_7eff897e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptFullForm $optFullpublic OptDbForm $optDbpublic WildAndWhereForm $wildAndWherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptFullForm $optFull,
public OptDbForm $optDb,
public WildAndWhereForm $wildAndWhere,
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
$optFull | OptFullForm | |
$optDb | OptDbForm | |
$wildAndWhere | WildAndWhereForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call ShowParamWithOptFullTablesOptDbWildAndWhere_7eff897e::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 38
- method-call OptFullForm::write() line 39
- method-call Writer::append() line 41
- method-call OptDbForm::write() line 43
- method-call WildAndWhereForm::write() line 45
public function withOptFull(OptFullForm $optFull): selfReturns a copy with a new optFull, preserving every other field.
Parameters
$optFull | OptFullForm |
Returns
selfCalls 1
- new
selfline 53
public function withOptDb(OptDbForm $optDb): selfpublic function withWildAndWhere(WildAndWhereForm $wildAndWhere): selfReturns a copy with a new wildAndWhere, preserving every other field.
Parameters
$wildAndWhere | WildAndWhereForm |
Returns
selfCalls 1
- new
selfline 69