classSavepoint
final class Savepoint
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.A request to start a named, nestable transaction.
Rule: SQLITE-SAVEPOINT-001. The name need not be unique; a later RELEASE or ROLLBACK TO finds the most recent savepoint with the name. Source: https://sqlite.org/lang_savepoint.html. Status: Implemented.
(new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SAVEPOINT "before import"')->statement->name->value // => 'before import'Properties§
public Name $nameMethods§
public function deriveStatement(Derivation $derivation): voidDerives nothing: the request depends on no declaration.
Parameters
$derivation | Derivation |
public function render(Output $out): voidWrites the request.
Parameters
$out | Output |
Calls 2
- method-call Output::keyword() line 48
- class-const NameUse::Label() line 48
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.