Adds an optional third value to `with` vectors, which can be the following: * `:materialized` -> SQL is `WITH cte AS MATERIALIZED (...)` * `:not-materialized` -> SQL is `WITH cte AS NOT MATERIALIZED (...)` * omitted or anything else -> SQL is `WITH cte AS (...)` Note that materialization control is not available on WITH RECURSIVE CTEs, so `format-with` was modified to take a third argument that returns the `AS ...` separator, which is constantly `"AS"` for WITH RECURSIVE, and obeys the aforementioned rules for non-recursive CTEs. Resolves #392. |
||
|---|---|---|
| .. | ||
| honey | ||