from replit import db
print(db.keys())
or
from replit import db
for _key in db.keys():
print(_key, db[_key]) # print key name + value.
why _key
? can’t you just use key
?
There used to be an AMAZING
repl to view your ReplitDB in a hierarchical tree structure. Basically like json.
However the repl has been down lately and who know if it will be fixed.
Here is the Repl’s site: Replit DB GUI
Here is the Repl’s cover page: Replit DB GUI cover page
It was created by @fatfingers23
It works rn? What do you mean?
Extensions time :). I’ll make an extension for this
not for me. I cant login.
Last time I tried, chrome overloaded after logging in.
This is why we need an extension for this. I am the extension superman
Just flipped “Unavailable”, lol.
There are like 5 extensions for it already
As @MiloCat said, there are already a ton, one was even good enough to be promoted to the explorers extension store.
why do you always correct people? I post one think with a spelling mistake your spawn out of no where and correct me
Wait rly nice one in the official store
Make sure you are an explorer, create a new tab in your repl, search “extensions”, install the repl db one, and then open it
Yup I found it
Ima learn nodejs to develop some extensions (I have beta access)
Nooo!!! Although I am the only person with access that I know of who does not use js at all for extensions. And even then, just use flask for backend and js for frontend, no need to learn Node.
Yea but I don’t know js and might as well learn node in the process
Well, if you want to go by the guidelines of the creator of Node, probably better to use Deno, which is the creators favorite child afaik. Idk much about Node and others, nor want to.
Here’s a python repl for it too, lol (quickly thrown together):
https://replit.com/@Firepup650/Attempt-at-a-DB-editor