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

Pagination support in the GetListAsync method in PgTenantDataRepository #783

Open
Revsgaard opened this issue May 2, 2024 · 3 comments
Open

Comments

@Revsgaard
Copy link
Member

Add support for pagination in the GetListAsync method.

This feature is used when data is processed and will result in incorrect data when the number of down-parties is more then 100 in a track.

@Revsgaard
Copy link
Member Author

@bjornharrtell pagination support probably require new functionality in the PgKeyValueDB component and maybe relates to the lambda support issue.

@bjornharrtell
Copy link
Contributor

Hmm stateless pagination is difficult, I do not expect to be able to implement this easily.

@Revsgaard
Copy link
Member Author

What about something like I have implemented in the MongoDB repository https://github.com/ITfoxtec/FoxIDs/blob/1.4.x-development/src/FoxIDs.Shared/Repository/MongoDb/MongoDbTenantDataRepository.cs#L67

The page number is returned in paginationToken and with that the skip and limit/take is calculated.

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