Skip to main content

render_view

Function render_view 

Source
pub fn render_view(v: &View) -> String
Expand description

Render a View as a CREATE VIEW ... AS <body>; SQL string.

Intentionally omits OR REPLACE — this renderer targets a fresh shadow DB (apply path), so the simpler CREATE VIEW form is correct.