classLoad
final class Load
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.LOAD 'filename': a request to load a shared library into the server process.
Rule: PG-LOAD-001. Mirrors PostgreSQL's LoadStmt. The file name is text the server resolves in its own file system. Facts: none. Source: https://www.postgresql.org/docs/17/sql-load.html. Status: Implemented.
(new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze("LOAD 'auto_explain'")->statement->file->value // => 'auto_explain'Properties§
public StringConstant $fileMethods§
public function __construct(public StringConstant $file)Parameters
$file | StringConstant | The library file name |
public function deriveStatement(Derivation $derivation): voidDerives nothing: a library file is not part of a declaration context.
Parameters
$derivation | Derivation |
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
LoadTestcalls