Questions tagged [replit-database]

20 questions
0
votes
1 answer

How to fix replit not loading files?

As you can see in the image below, I'm not able to open any file from replit. And the files are not being loaded in the replit.enter image description here
Bryar Laiq
  • 15
  • 5
0
votes
0 answers

Replit Python Error "Package Operation Failed"

I installed pysqlite but this error is shown. I also cant delete packages. Even if I use a different package/no packages, this error will be shown. error msg
Niko N.
  • 17
  • 5
0
votes
1 answer

No REPLIT_DB_URL environment variable

When I try using the Replit database, I get told "Only absolute URLs are supported". Then I tried finding the REPLIT_DB_URL with 'printenv' in the shell. There was no variable with that name. Can anyone help?
-1
votes
1 answer

how to get raw data for a nested key in my replit database python

In the python code below, I am getting the raw data for the key "users" in my database. However I need the raw data only for the key "shares" inside of "users". How would I do this? Python code to get "users" data: db.get_raw("users") Database: { …
Dylan Gow
  • 11
  • 3
-1
votes
1 answer

Count time between messages with discord.js and replit database

I've been googling for a long time now and can't find a solution. My current code: let end = new Date().getTime(); if(Msg == "test") { // ... } db.set("start", new Date().getTime()); If I try to send db.get("start") it will send [object…
1
2