brianbroderick / lantern

Shine a light on your PG query logs. The project is being reimagined and is now a WIP.
Apache License 2.0
2 stars 0 forks source link

Extractor: handle CTEs #28

Open brianbroderick opened 3 months ago

brianbroderick commented 3 months ago
 // Select with a CTE expression
 {"select count(1) from (with my_list as (select i from generate_series(1,10) s(i)) select i from my_list where i > 5) as t;",
[][]string{{"i"}}},