enum OptFlushLockChoice_d12692ad: string
    implements OptFlushLockForm
Public API: explicitly declared with @visibility public.

The opt_flush_lock SQL value; generated by bin/build-models.php.

Accept a structured SQL valuedoctest
$write = static fn (\SqlSemantics\Statement\Model\MySql\Choice\OptFlushLockChoice_d12692ad $value): string => \SqlSemantics\Statement\Writer::render($value);
    $write instanceof \Closure // => true

Cases§

case Use_e3b0c442 = ''
case UseWithReadLock_cf240c10 = 'WITH READ LOCK'
case UseForExport_964dac9c = 'FOR EXPORT'

Methods§

public function write(Writer $writer): void

Writes the selected SQL option.

Parameters

$writerWriter
Calls 2