-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
New feature: findLast(int), findFirst(int), findRandom(int) #1050
Comments
I could see use cases for both findLast(int) and findFirst(int), but to be honest I am not sure that adding findRandom(int) has enough use cases to warrant bloating the number of API methods. Also the use cases for these methods might be covered by adding LIMIT #544, but it is worth a discussion. |
LIMIT по сути тоже самое. Но зачем добавлять новый метод, когда можно модернизировать существующий? |
Sorry. LIMIT essentially the same. But why add a new method, when it is possible to upgrade the existing one? findRandom mostly needed when developing an application. There are 10,000 entries, and the design of the application ( or even most of the base ), it is desirable to display a new kind of data. |
There are changes? |
Hi Crysan, |
Thank you! I am waiting for the result. |
I think it would be useful to have |
|
Be aware that |
Hi!
Now we have.findAll () and.findFirst ().
And you can add?:
.findLast(10) - hoose the last 10 items
.findFirst(14) - choose the first 14 elements
.findRandom(42) - choose 42 random element
The text was updated successfully, but these errors were encountered: