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

Add support for SELECT DISTINCT ON? #72

Closed
jprider63 opened this issue Aug 4, 2014 · 5 comments
Closed

Add support for SELECT DISTINCT ON? #72

jprider63 opened this issue Aug 4, 2014 · 5 comments

Comments

@jprider63
Copy link

Have you considered adding support for SELECT DISTINCT ON? See here for an example.

@meteficha
Copy link
Member

Features on esqueleto usually are implemented as soon as someone who needs them steps up to do so. If you would like to take a stab, I'll help you with any questions that may arise :).

@jprider63
Copy link
Author

I ended up doing this for now. I'm pretty busy now, but maybe I'll get back to this once this project is done.

@akurilin
Copy link
Contributor

Is there something fundamentally complex about implementing DISTINCT ON in a SQL DSL? I've seen more than one DSL out there missing that specific piece of functionality. Might be very important to know before someone attempts to add it to esqueleto. I started looking into it, but it's a bit above my skillset right now, given my current experience with Haskell.

@meteficha
Copy link
Member

There is now support for DISTINCT ON since esqueleto-2.2.4, released a few moments ago.

@akurilin
Copy link
Contributor

Thank you! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants