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

Composite Primary Keys #113

Closed
FourSigma opened this issue Jan 4, 2018 · 3 comments
Closed

Composite Primary Keys #113

FourSigma opened this issue Jan 4, 2018 · 3 comments

Comments

@FourSigma
Copy link

How do I execute the following query with composite keys and an array of tuple values?

SELECT * FROM student_course WHERE (student_id, course_id) IN ( (1,2), (42,23) );

@lann
Copy link
Member

lann commented Jan 5, 2018

Previously answered in #104.

@FourSigma
Copy link
Author

@lann Would you be interested in merging a pull request that supported tuples for IN clauses?

@lann
Copy link
Member

lann commented Jan 8, 2018

Sure! If you are willing to do so please propose a syntax for it before doing too much work. I want to be careful about maintaining backward compatibility.

@lann lann closed this as completed Jan 13, 2020
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

2 participants