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
Allow passing :*
as a column name in the Repo.aggregate/{3,4}
#3175
Comments
Cool, PR is welcome, please! We can use a fragment to do |
hauleth
added a commit
to hauleth/ecto
that referenced
this issue
Dec 2, 2019
This is done to provide similar API to `Ecto.Query.API.count/0` as counting over `*` is faster in some DB than counting over column, even when column is `NOT NULL` and indexed. Close elixir-ecto#3175
josevalim
pushed a commit
that referenced
this issue
Dec 2, 2019
What do you think about providing |
@michalmuskala I didn't do so to provide a way to pass an options to the call as for me it would be weird to have |
josevalim
pushed a commit
that referenced
this issue
Dec 2, 2019
sthagen
added a commit
to sthagen/elixir-ecto-ecto
that referenced
this issue
Dec 2, 2019
Introduce Repo.aggregate/2 instead, see elixir-ecto#3175
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reasoning the same as in #2595.
The text was updated successfully, but these errors were encountered: