Repl.it Database feedback 💾
Hey replers! We’re beginning to roll out Repl.it Database. We’d love to get your feedback on it so that we can continue making it better.
What is Database?
Database is an easy-to-use key-value store. You can store data in it and retrieve data from it, even after your repl restarts. It's great for building website or game backends, Discord bots, or any other type of app that needs to store some information.
Check out the repl in this post to see how easy it is to use. You can also take a look at the documentation here: https://docs.repl.it/misc/database
How do I use it?
If Database has been rolled out to you, you can look at some examples by opening up a repl and clicking on the Database icon toward the bottom of the sidebar. Database just works inside your repls, without any configuration.
What languages does it support?
We want to hear from you!
If there’s anything you’d like to see us change or add to Database, please leave a comment below. Thank you for your help!
If you don't have Database in your repls yet, please check back soon! We're rolling it out as you read this.
How should I go about doing a more advanced keys retrieve for my discord economy bot...
if key does not exist:
I like this! However, when I click on the link that it provides so that I can see all of the keys, it takes me to a blank page with no content.
i finely tried it and it is very cool!
but the only suggestion is to add the ability to view/edit the data base from a certain page
something like mongoDB atlas were you can delete document edit them anytime wich could be very helpful while developing!
My database got partially wiped just now. I am migrating to another service since the unreliability of this one defeats the whole purpose of a database.
I love it! Some questions / requests
1) how do I keep the database from being wiped between runs?
For example: https://repl.it/@triptych/IroncladAshamedRobot#index.js
2) need a way to upload / download the database data - like say to/from a json file?
3) when I download the repl to a zip, would be great to get a copy of the database too!
4) do you have any examples of a simple node.js based app using this?
I really like the Repl DB. My only issue is key size limits.
Also, please add the ability to view the Database!
I think this feature is really handy. It's really simple and beneficial when you want to save simple data. What I don't like about replit db is when I use db.keys(), it returns set. if it return list, I think it will better
the database have to name "db" ?
like, i want to make 3 database, how...
also, are there any thing like "2-keys database", like db["10"]
(sorry if this comment were posted 2 times, but i was disconnected (my wifi bad) when i press "comment")
Hello, i have used the replit database and think it's a great idea but I tried to store a item stopped the program and ran it again and my item was not there more time should be put into this to make it work.
Hi, I am coding in discord.py and am grabbing the discord servers id and storing it in the database in order to store config settings, however when I go to delete the key it brings up this error: TypeError: quote_from_bytes() expected bytes anyone got a fix for this?
Since this is a key-value store, you might as well use json because its also key-value store and can't really get wiped.
(imo json is easier to use)