Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Only 1000 items can be fetched using fetch #224

Answered by jnsougata
KohnoseLami asked this question in Help
Discussion options

You must be logged in to vote

fetch has optional parameter last which is a string (last key evaluated in the response)
check last parameter in hare https://docs.deta.sh/docs/base/sdk/#fetch
that will help you to fetch all the items from deta base in case you have more than 1000 items. keep fetching data from from base with the last key from the response until the last key in the response is None

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KohnoseLami
Comment options

Answer selected by KohnoseLami
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants