We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would be nice to have a count method generated to be able to count number of items from a where query a get a integer.
Because for now all we can do (a I know) is:
final items = await bean.findMany(bean.finder); return items.length;
But it not optimized as you'll map all the objects just to get a count :/
Maybe there a better way @tejainece ?
The text was updated successfully, but these errors were encountered:
@jaumard This is cool.
Jaguar_query already has count clause.
PR is welcome.
Sorry, something went wrong.
No branches or pull requests
Would be nice to have a count method generated to be able to count number of items from a where query a get a integer.
Because for now all we can do (a I know) is:
But it not optimized as you'll map all the objects just to get a count :/
Maybe there a better way @tejainece ?
The text was updated successfully, but these errors were encountered: