Questions tagged [javascript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
23 views

How to get applied stored procedure for inserted row in mysql php query [closed]

$query = "CREATE PROCEDURE IF NOT EXISTS Insertion(IN firstname varchar(40),IN lastname varchar(40),IN email varchar(40),IN department varchar(40),IN doj date,IN basicpay int(11)) BEGIN ...
0
votes
1answer
17 views

Not authorized on test to execute command

Here is my code: mongoose.connect(consts.database, { useNewUrlParser: true, useUnifiedTopology: true, sslCA: consts.databaseCert, }); //... const user = await db.userModel.findOne({ ...
0
votes
0answers
45 views

Non RAM based in-browser database solutions?

I want to decentralize my databases and upload it to Sia Skynet to give the users the ability to search on front-end. It is important to be able to deal with large amounts of data, but the RAM-based ...
0
votes
0answers
15 views

How do I pass organized subsets of data to java-script efficiently?

Disclaimer: I'm a newb to sql, And This is a more general question than I would prefer to ask. So I have a table with a list of English words and a column labeled votes with a bigint value ...
0
votes
0answers
9 views

MongoDB : Log failing DB backups

is it possible with Java Script to capture the errors of MongoDB backup failer and send this message to Windows event logs Best regards
0
votes
1answer
33 views

How to parse MongoDB int32 in node.js

I am using MongoDB for a discord bot I am working on, and I want to retrieve a user's balance. My current code is function findBalance(id){ MongoClient.connect(url, function(err, db) { if (err) throw ...
0
votes
1answer
1k views

Trouble connecting to local MongoDB server through app.js

I'm a newbie to MongoDB, and I just set up MongoDB within my Ubuntu terminal with mongod and mongo commands running in separate terminals. However, I can't get my app.js that would launch a website to ...
0
votes
1answer
27 views

Migrating timezone timestamps

I am trying to migrate this node library https://github.com/LocalSEOGuide/lighthouse-reporter from Postgres to MySQL and getting an error error: ER_TRUNCATED_WRONG_VALUE: Incorrect datetime value: '...