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

paginate #448

Open
aliabdolazimi opened this issue Apr 12, 2021 · 0 comments
Open

paginate #448

aliabdolazimi opened this issue Apr 12, 2021 · 0 comments

Comments

@aliabdolazimi
Copy link

hi.i have datas with this structrue { _id:"",parentId:"", ... } and i want to get datas with same paranetId using paginate.
for example the first elemnents that i show in client be objects with parentId:1 and it can includes one or more data matching db, and the seccond be objects with parentId:2 and ...
for example i may have 10 data in my db.3 of them have parentId : 1 two of them have parentId:2 and the rest have parentId:3
i set limit to 2 and i want to get the first two datas with same parent id.the first one is that 3 data i mentioned before with parentId:1 and the 2nd is two data with parentId:2. and when i scroll down load the rest data that has parentId:3 as the third elemnt.
i searched for it but i found nothing.
thanks a lot.

@StorytellerCZ StorytellerCZ mentioned this issue Feb 22, 2022
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

1 participant