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

Get count only? #821

Open
ShoppasRR opened this issue Nov 26, 2023 · 1 comment
Open

Get count only? #821

ShoppasRR opened this issue Nov 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ShoppasRR
Copy link

Would it be possible to only bring back the count and not have to grab any records? I currently have to pass either first or last with a positive value. I was wondering if it would be possible to pass 0 so I could only bring back count?

@queicherius
Copy link
Member

Technically this is already possible, by not passing either and not having edges or nodes in the resolve info. I wouldn't be opposed to a PR that sets that code branch here so it works without resolve info.

@queicherius queicherius added the enhancement New feature or request label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants