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

Count the number of items in a collection #837

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

foxoffire33
Copy link

@foxoffire33 foxoffire33 commented Nov 23, 2023

When implementing pagination, I'm looking for a method to obtain the total number of items in a collection. This way, I can divide it by my page limit and calculate the number of pages.

This is my first attempt to add something to weaveDB please provide feedback if needed.

Also included a fix for #566

@foxoffire33 foxoffire33 marked this pull request as draft November 23, 2023 15:52
@foxoffire33 foxoffire33 marked this pull request as ready for review November 23, 2023 16:38
@foxoffire33 foxoffire33 marked this pull request as draft November 29, 2023 19:48
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

Successfully merging this pull request may close these issues.

None yet

1 participant