sql
sql copied to clipboard
`with` is documented but not provided
I tried to use with (for a CTE) but got an undefined error.
Glancing at the commit history I see:
- commit a58ca7b added
with - commit fdba335 removed
withbut left it in the documentation - commit d6823de updated the documentation about an enhancement
I may be overlooking something. I'm not sure the intent -- does the reality needs to change to match the docs, or vice versa.
with is still allowed in a statement, but it's no longer a Racket macro like select. It means you have to write (sql (with ....)) instead of just (with ....).
Oh!
-
That's awesome it's available, I just tried and it worked great!
-
Should I make a PR to add that to the doc for
with--- as a margin-note or inline prose? Or should it be some change to the grammar? (Or do you think it's already apparent and I'm just being dense -- which is 100% just to tell me bluntly. :smile:)