classViewQueryBlockWithQueryExpressionWithOptLockingClausesViewCheckOption_9ccd525e
final class ViewQueryBlockWithQueryExpressionWithOptLockingClausesViewCheckOption_9ccd525e
implements ViewQueryBlockForm
uses Assertion
Public API: explicitly declared with
@visibility public.The view_query_block SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ViewQueryBlockWithQueryExpressionWithOptLockingClausesViewCheckOption_9ccd525e $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public QueryExpressionWithOptLockingClausesForm $queryExpressionWithOptLockingClausespublic ViewCheckOptionForm $viewCheckOptionpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public QueryExpressionWithOptLockingClausesForm $queryExpressionWithOptLockingClauses,
public ViewCheckOptionForm $viewCheckOption,
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
$queryExpressionWithOptLockingClauses | QueryExpressionWithOptLockingClausesForm | |
$viewCheckOption | ViewCheckOptionForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 36
- method-call QueryExpressionWithOptLockingClausesForm::write() line 37
- method-call ViewCheckOptionForm::write() line 39
public function withQueryExpressionWithOptLockingClauses(QueryExpressionWithOptLockingClausesForm $queryExpressionWithOptLockingClauses): selfReturns a copy with a new queryExpressionWithOptLockingClauses, preserving every other field.
Parameters
$queryExpressionWithOptLockingClauses | QueryExpressionWithOptLockingClausesForm |
Returns
selfCalls 1
- new
selfline 47
public function withViewCheckOption(ViewCheckOptionForm $viewCheckOption): selfReturns a copy with a new viewCheckOption, preserving every other field.
Parameters
$viewCheckOption | ViewCheckOptionForm |
Returns
selfCalls 1
- new
selfline 55