Replies: 2 comments
-
Do I not already have those? Interesting. I've added |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, nice! 😎 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just like we have
sum()
, would it be possible to havemin()
andmax()
aggregation functions too?min()
would iterate an array and return the smallest number in it, whilemax()
would return the biggest number.Background: I'm generating some kind of ID numbes in my database. I generate them manually as running numbers, starting from 1. Whenever I need to create a new ID number, I'd like to quickly see what was the last ID number that was used. I could use
max()
to get the maximum existing ID number and increase it by one to get a number that is not yet in use.Thank you! 🙂
Beta Was this translation helpful? Give feedback.
All reactions