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 order by support in aggregate functions argument scope. #780

Closed
igalklebanov opened this issue Nov 24, 2023 · 1 comment
Closed

Add order by support in aggregate functions argument scope. #780

igalklebanov opened this issue Nov 24, 2023 · 1 comment
Labels
api Related to library's API enhancement New feature or request mysql Related to MySQL oracle Related to Oracle postgres Related to PostgreSQL sqlite Related to sqlite

Comments

@igalklebanov
Copy link
Member

igalklebanov commented Nov 24, 2023

Hey 👋

Following #779, we might want to allow chaining .orderBy where .distinct is invocable in eb.fn.agg.

Example aggregate functions where order by can be used inside the argument scope:

@igalklebanov igalklebanov added enhancement New feature or request mysql Related to MySQL sqlite Related to sqlite postgres Related to PostgreSQL api Related to library's API oracle Related to Oracle labels Nov 24, 2023
ivashog pushed a commit to ivashog/kysely that referenced this issue Mar 7, 2024
ivashog pushed a commit to ivashog/kysely that referenced this issue Mar 7, 2024
ivashog pushed a commit to ivashog/kysely that referenced this issue Mar 7, 2024
ivashog pushed a commit to ivashog/kysely that referenced this issue Mar 12, 2024
ivashog pushed a commit to ivashog/kysely that referenced this issue May 3, 2024
@trompx
Copy link

trompx commented May 28, 2024

Hi @igalklebanov,
Had just the need for that feature. Any idea if this will be merged soon?

igalklebanov pushed a commit to ivashog/kysely that referenced this issue Jan 9, 2025
igalklebanov pushed a commit to ivashog/kysely that referenced this issue Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to library's API enhancement New feature or request mysql Related to MySQL oracle Related to Oracle postgres Related to PostgreSQL sqlite Related to sqlite
Projects
None yet
Development

No branches or pull requests

2 participants