Questions tagged [replit-database]
The replit-database tag has no usage guidance.
replit-database
16
questions with no upvoted or accepted answers
2
votes
0
answers
153
views
How can I store two values for one key with Replit Database
I'm using CoingGecko API for acquiring info about crypto. I have a function for getting a json from the API of crypto currencies. Then I upload the id of crypto and its current price to a Replit ...
1
vote
1
answer
114
views
Replit DB is not loading data into variables
i'm using replits database but when i try to load it in it returns an error
any ideas?
cookie = db[name]
cookiepc = db[name + "cookiepc"]
increase = db[name + "increase"]
the ...
0
votes
0
answers
13
views
REplit + Node JS - How to override local file JSON data
My code snippet works with node js but my actual file “LOCAL_JSON_FILE_PATH” does not update with the new data. I want to remove old data from the file and import new data at set times.
My code works ...
0
votes
0
answers
13
views
In Replit i am not getting any out put or blurr output
enter image description hereI am doing 100 days of code project. So i am using rep-lit to store my code.When i run my code it is showing blur(i have attached the image also). I see this blur on output ...
0
votes
1
answer
67
views
I'm trying to export all the data from my replit db
I'm currently trying to move a tonne of data out of replit db by converting it into CSV using pandas
Is it to do with how the data is stored into the db? Is it a mistake to treat the db like a ...
0
votes
0
answers
15
views
How to save a variable to a database in three.js
I have made a simple game in three.js and want to be able to save a high score to a database, but anytime I try to use a database module, more specifically, the replit database, all of the three.js ...
0
votes
0
answers
14
views
Any way to get the text value of a key that's stored in the database? (replit node.js)
I kept trying to find a solution but couldn't find it anywhere, I'm using this for my discord bot and I want it to send the text value of a stored key in the database as a text message to discord.
How ...
0
votes
1
answer
90
views
how to initialize @replit/database out side of node.js
here is my file:
const express = require('express');
const path = require('path');
const app = express();
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'Basic-signupsignin-setup', ...
0
votes
0
answers
53
views
How do I import the database from Replit with "Import" in javascript?
Id like to use import to import the database. Is this possible?
import Database from "@replit/database"
This doesn't work
I tried that without "@" and with other variations, but ...
0
votes
1
answer
541
views
discord.ext.commands.bot Ignoring exception in command note
I am trying to make a discord bot in python with a note command where te user can make a note. The note gets saved using the database from replit.
Imports, commands, prefix ect, ect (Prefix = !)
@bot....
0
votes
2
answers
216
views
How do you get more storage in the Replit Database (@replit/database)?
I am distributing a product based on Replit and it’s already out of storage. I’ve seen that the Replit hacker plan can add more local storage, but I can’t find anything regarding the database. Is ...
0
votes
0
answers
52
views
Why am I not able to put an object into a list?
I'm using replit for my programming here, and am trying to put an object into a list. When I try and make a new game to update my data to the default data, it tells me ValueError: Circular reference ...
0
votes
1
answer
313
views
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
0
votes
0
answers
176
views
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
0
votes
1
answer
168
views
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....