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

concurrent query CountDocuments #42

Open
hhow09 opened this issue May 3, 2023 · 0 comments
Open

concurrent query CountDocuments #42

hhow09 opened this issue May 3, 2023 · 0 comments

Comments

@hhow09
Copy link

hhow09 commented May 3, 2023

Is your feature request related to a problem? Please describe.
in func (paging *pagingQuery) Find(), Paging(...) could be executed concurrently with Find()

Describe the solution you'd like

func (paging *pagingQuery) Find() (paginatedData *PaginatedData, err error) {
         ...
	paginationInfoChan := make(chan *Paginator, 1)
	go Paging(paging, paginationInfoChan, false, 0)
        ...
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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