final class PgSqlViewDefinitionParser

View definition parser for PostgreSQL queries.

Methods§

public function fromCreateStatement(string $sql): ?ViewDefinition

Reads a CREATE VIEW statement and preserves its query definition.

Parameters

$sqlstring
Test cases 1
Calls 5

Test cases 6§

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 4

Relations§

Instantiated in 1
Method calls 1