example of alias with columns

Signed-off-by: Sean Corfield <sean@corfield.org>
This commit is contained in:
Sean Corfield 2024-12-10 11:45:22 -08:00
parent aa1f2bc0f6
commit e0356bc9c5
No known key found for this signature in database

View file

@ -2713,4 +2713,5 @@
:select [:*] :select [:*]
:from [(keyword "'`a-b.b-c.c-d`")]} :from [(keyword "'`a-b.b-c.c-d`")]}
(sql/format)) (sql/format))
(sql/format {:select :* :from [[[:json_to_recordset :my-json-column] [:b {:with-columns [[:c :int] [:d :text]]}]]]})
) )