Skip to content

Replacing every occurrence of table with sqlparser-rs #937

Answered by alamb
kasvith asked this question in Q&A
Discussion options

You must be logged in to vote

the foo.id in the SELECT list will be an Expr -- so you would have to use one of the expr visiting methods like post_visit_expr for this: https://docs.rs/sqlparser/0.36.1/sqlparser/ast/trait.VisitorMut.html#method.post_visit_expr

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kasvith
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