rmculpepper / sql

Embedding of some of SQL into Racket
33 stars 5 forks source link

UNION form #22

Open yilinwei opened 3 years ago

yilinwei commented 3 years ago

UNION is currently not a statement but a table-expr - this means that the following expression fails.

(sql (union (select x #:from xs) ...)).

This isn't too much of an issue since you can wrap it in a second select; but when dealing with something like with recursive it becomes harder.

Am I missing something?