Skip to content

Attaching aliases from insert to select #2176

Closed Answered by georgesittas
sunrutcon asked this question in Q&A
Discussion options

You must be logged in to vote

I recently posted an answer to a similar issue about aliases here: #2155

For your use case, you'd have to fetch insert's column names by inspecting the AST and then use them to replace the projections' aliases.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sunrutcon
Comment options

Answer selected by georgesittas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants