classServerVersion
final class ServerVersion
implements Node
uses Snapshot
Public API: explicitly declared with
@visibility public.The VERSION clause of a foreign server: a version string, or NULL to clear it.
Source: https://www.postgresql.org/docs/17/sql-createserver.html, https://www.postgresql.org/docs/17/sql-alterserver.html.
(new \SqlSemantics\Platform\PostgreSql\Statement\Catalog\ForeignData\ServerVersion())->version // => nullProperties§
public StringConstant|null $version = nullMethods§
public function __construct(public StringConstant|null $version = null)Parameters
$version | StringConstant|null | The version; null for VERSION NULL |
public function render(Output $out): voidWrites VERSION and the version or NULL.
Parameters
$out | Output |
Test cases 1
Calls 2
- method-call Output::keyword() line 37
- method-call Output::node() line 43
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Instantiated in 2
- new SqlSemantics\Platform\PostgreSql\Lowering\Catalog\ForeignDataRule::version() packages/sql-semantics-postgres/src/Lowering/Catalog/ForeignDataRule.php:147
- new SqlSemantics\Platform\PostgreSql\Lowering\Catalog\ForeignDataRule::version() packages/sql-semantics-postgres/src/Lowering/Catalog/ForeignDataRule.php:148
Type declarations 3
- type SqlSemantics\Platform\PostgreSql\Lowering\Catalog\ForeignDataRule packages/sql-semantics-postgres/src/Lowering/Catalog/ForeignDataRule.php:140
- type SqlSemantics\Platform\PostgreSql\Statement\Catalog\ForeignData\AlterForeignServer packages/sql-semantics-postgres/src/Statement/Catalog/ForeignData/AlterForeignServer.php:43
- type SqlSemantics\Platform\PostgreSql\Statement\Catalog\ForeignData\CreateForeignServer packages/sql-semantics-postgres/src/Statement/Catalog/ForeignData/CreateForeignServer.php:51