final class ExtensionSchema
    implements ExtensionOption
    uses Snapshot
Public API: explicitly declared with @visibility public.

The SCHEMA option of CREATE EXTENSION: the schema the objects of the extension go into.

Source: https://www.postgresql.org/docs/17/sql-createextension.html.

Reading the target schemadoctest
(new \SqlSemantics\Platform\PostgreSql\Statement\Catalog\Extension\ExtensionSchema(new \SqlSemantics\Platform\PostgreSql\Model\Statement\Identifier\Name('ext')))->schema->value // => 'ext'

Properties§

public Name $schema

Methods§

public function __construct(public Name $schema)

Parameters

$schemaNameThe schema name
public function option(): string

Answers the option name the server receives.

Returns

string
Test cases 2
public function render(Output $out): void

Writes SCHEMA and the name.

Parameters

$outOutput
Test cases 1
Calls 2

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 1

Relations§

Instantiated in 1