This repository was archived by the owner on Aug 7, 2023. It is now read-only.
deta base storage size #524
Unanswered
IndrajeethY
asked this question in
Help
Replies: 1 comment
-
|
There is no counter in the UI, but you can write a little script to download all the data and save it to a JSON. The file size would give you a general approximation of the Base's size. import json
from deta import Deta
deta = Deta()
db = deta.Base("mydb")
response = db.fetch()
all_items = response.items
while response.last:
response = db.fetch(last=response.last)
all_items.extend(response.items)
with open("mydb.json", "w") as file:
json.dump(all_items, file) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
is it possible to know about current deta base size which i've stored data?
Beta Was this translation helpful? Give feedback.
All reactions