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

indexed-store pagination #108

Open
nichoth opened this issue Mar 16, 2024 · 1 comment
Open

indexed-store pagination #108

nichoth opened this issue Mar 16, 2024 · 1 comment

Comments

@nichoth
Copy link
Contributor

nichoth commented Mar 16, 2024

In the source code I do not see a way that LogPage.next could exist. Does this implementation load all entries into memory (not paginating them)?

@ai
Copy link
Member

ai commented Mar 16, 2024

It is just IndexedDB doesn’t use pagination because low-level IndexedDB API is hard.

The method works, you can use it in own implementation.

For IndexedStore I will need a PR for adding pagination.

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