Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
Connect Vertica DB from node and Typescript application

I'm writing d3 visualization code to append counts and rectangle boxes around the counts on .JPEG image. In order to get dynamic data I used typescript+node JS+D3 JS. I need to use Vertica DB.

How to install plugin to connect to db from typescript+nodeJS?

I tried node-vertica plugin and could not integrate it properly.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

---------------
Code in app.js:
---------------
var config = {
ssl: 'optional',
interruptible: true,
host: '*******',
user: '*********',
password: '********',
database: '********'
};

try {
conn = Vertica.connect(config, (err, conn) => {
if (err) {
console.log(err);
} else {
conn.connect(function(err) {
if (err) throw err;
conn.query("select * from *****", function (err, result, fields) {
if (err) throw err;
console.log(result);
});
});
}
});
}
catch (error) {
console.log("Error has been caught --"+error);
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!