Skip to content
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

How to count the data in nexus prisma ? #1230

Closed
justicejoe opened this issue Dec 25, 2019 · 1 comment
Closed

How to count the data in nexus prisma ? #1230

justicejoe opened this issue Dec 25, 2019 · 1 comment

Comments

@justicejoe
Copy link

Is there a way to only count the data ? For example,
with something like
{
events(where : { ... }){
count
}
}

I want to get only the number of data that I filtered.

@pantharshit00
Copy link
Contributor

Hi,

Thanks for reporting this! It has already been reported before, so I am going to close this as a duplicate of prisma/prisma-client-js#252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants