Enable dynamic column aliases#995
Enable dynamic column aliases#995DictyosteliumDiscoideum wants to merge 3 commits intoporsager:masterfrom
Conversation
|
I fixed the typo that caused the checks to fail. |
4fd011e to
a92f470
Compare
|
@porsager will this PR be accepted? |
|
Looks like the checks on the test/ are still failing. Echoing flauc's question above. |
|
I don't have time to fix this at the moment but I will see if I can get to it. In the meantime, you can use query fragments: https://github.com/porsager/postgres?tab=readme-ov-file#building-queries. It's clunky but it should work. |
I'm having a hard time figuring out how to get it to work. I've also read #894 (comment) but it looks like something has changed since then? Here is what I have: Edit: I've also read the fragment portion and came up with This is also not working as intended and produces the error: |
4a0fe34 to
3a43815
Compare
Fixes #894.
Updates the parser to enable column aliases (i.e., "AS" statements) when columns are given in a dynamic array).
The syntax uses a nested array with two elements:
Which will produce: