Skip to content
New issue

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

support alternative selection of columns #584

Closed
sviezypan opened this issue Feb 14, 2022 · 1 comment
Closed

support alternative selection of columns #584

sviezypan opened this issue Feb 14, 2022 · 1 comment
Assignees

Comments

@sviezypan
Copy link
Collaborator

In order to resemble SQL as much as possible, I think it would be nice to support also selections of columns separated by commas in addition to supporting selection with ++ operator.

// curent 
select(name ++ age).from(persons)
insertInto(persons)(name ++ age).values(...)

// additional alternative
select(name, age).from(persons)
insertInto(persons)(name, age).values(...)
@sviezypan sviezypan self-assigned this Apr 19, 2022
jczuchnowski added a commit that referenced this issue Apr 25, 2022
@sviezypan
Copy link
Collaborator Author

done in #630

amrkamel pushed a commit to amrkamel/zio-sql that referenced this issue May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant