This repository was archived by the owner on Aug 7, 2023. It is now read-only.
-
|
Can base register items after 1000? from deta import Deta
deta = Deta("")
bots = deta.Base("bots")
print(len(bots.fetch().items))
|
Beta Was this translation helpful? Give feedback.
Answered by
jnsougata
May 27, 2022
Replies: 1 comment 1 reply
-
|
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fetchhas optional parameterlastwhich is a string (last key evaluated in the response)check
lastparameter in hare https://docs.deta.sh/docs/base/sdk/#fetchthat 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
lastkey from the response until the last key in the response isNone