

Saidharsan
Forum Replies Created
-
Below is for jkdb
const { QConnection } = require(“jkdb”);
const q = new QConnection({ host : “Office_Server_URL”,port: 5000, user: “user”, password: “password” });
q.connect((err) => {
if (err) throw err;
console.log(“connected”);
// send query from here
});
Below is for node-q
const q = require(‘node-q’);
const connectionDetails = {
host : ‘Office_Server_URL’,
port : 5000,
user : ‘username’,
password : ‘password’};
q.connect(connectionDetails)
.then((conn) => {
return conn.k(’til 3′);
})
.then ((result) => {
console.log(‘res : ‘+result);
q.disconnect();
})
.catch((err) => {
console.log(‘Error : ‘+err);
});
-
Saidharsan
MemberSeptember 16, 2024 at 7:27 am in reply to: "500 : Internal Server Error" (upd: resolved)Can you please let me know, how it got resolved
-
Saidharsan
MemberSeptember 16, 2024 at 2:29 pm in reply to: Advanced Capstone Exercise 2.2 and 2.4 issues (Upd : Resolved)Hi @megan_mcp
I’ve edited the hypen symbol in the code and it got cleared. Thanks for your help.
-
Saidharsan
MemberSeptember 16, 2024 at 12:17 pm in reply to: Advanced Capstone Exercise 2.2 and 2.4 issues (Upd : Resolved)All test cases passed except 2.4 if you please help, I can submit the project
-
Saidharsan
MemberSeptember 16, 2024 at 12:09 pm in reply to: Advanced Capstone Exercise 2.2 and 2.4 issues (Upd : Resolved) -
Saidharsan
MemberSeptember 16, 2024 at 11:14 am in reply to: Advanced Capstone Exercise 2.2 and 2.4 issues (Upd : Resolved)I’ve specified it has global dictionary and also declared it under .f1 namespace, even after its not passing the section
-
Saidharsan
MemberSeptember 16, 2024 at 10:36 am in reply to: Advanced Capstone Exercise 2.2 and 2.4 issues (Upd : Resolved)