Skip to main content

Module view

Module view 

Source
Expand description

View and materialized-view renderer.

Produces CREATE VIEW and CREATE MATERIALIZED VIEW statements for use in render_catalog (shadow-validate path) and pgevolve dump.

Functions§

render_materialized_view
Render a MaterializedView as a CREATE MATERIALIZED VIEW ... AS <body> WITH NO DATA; string.
render_view
Render a View as a CREATE VIEW ... AS <body>; SQL string.