We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(-> (project items [:content :id :user_id]) (join users (where (= :items.user_id :users.id))) (rename {:items.id :idx}))
generates
SELECT items.content,items.id,items.user_id,users.* FROM items AS items(content,idx,user_idx) JOIN users ON (items.user_id = users.id)
this sql query renames two columns for 'items' table, 'id' and 'user_id'. the intent is to rename only one column 'id' to 'idx'.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
generates
this sql query renames two columns for 'items' table, 'id' and 'user_id'. the intent is to rename only one column 'id' to 'idx'.
The text was updated successfully, but these errors were encountered: