-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Translate to GREATEST/LEAST in relational #31681
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
Milestone
Comments
This was referenced Sep 11, 2023
roji
added a commit
to roji/efcore
that referenced
this issue
Nov 18, 2023
Closes dotnet#27794 Closes dotnet#31681 Closes dotnet#32332
roji
added a commit
to roji/efcore
that referenced
this issue
Nov 18, 2023
Closes dotnet#27794 Closes dotnet#31681 Closes dotnet#32332
roji
added a commit
to roji/efcore
that referenced
this issue
Nov 18, 2023
Closes dotnet#27794 Closes dotnet#31681 Closes dotnet#32332
roji
added a commit
to roji/efcore
that referenced
this issue
Nov 18, 2023
Closes dotnet#27794 Closes dotnet#31681 Closes dotnet#32332
roji
added a commit
to roji/efcore
that referenced
this issue
Nov 18, 2023
Closes dotnet#27794 Closes dotnet#31681 Closes dotnet#32332
roji
added a commit
to roji/efcore
that referenced
this issue
Nov 27, 2023
Closes dotnet#27794 Closes dotnet#31681 Closes dotnet#32332
roji
added a commit
that referenced
this issue
Nov 28, 2023
roji
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Nov 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-enhancement
Most/all relational database support GREATEST/LEAST, which accept an arbitrary number of parameters and return the greatest one. Note that unlike MAX/MIN, these aren't aggregate functions - they're just regular, non-aggregate variadic functions.
We can add
EF.Functions.{Greatest,Least}
in relational to support these. Note that these would be similar to Math.Max and Min, which we should also translate; however, a custom EF.Functions.Greatest would provide the following advantages:Originally requested e.g. in npgsql/efcore.pg#2866
The text was updated successfully, but these errors were encountered: