What does it do? In the documentation, I do not understand the answer.
I'm not using it correctly, I get a query error from the database
 pool.connect(function (err, client, done) {
    if (err) console.log("connect " + err.toString());
    else
        client.query('SELECT id, "idName", "idContact", "idExperience", 
"idSkill", "dateAdded", "dateColloquy"' +
            'FROM public."applicant ";', function (err, result) {
            if (err) {
                console.log("query " + err.toString());
            }
            else {
                console.log(result.rows);
                //module.exports.res = result.rows;
            }
            done();
        });
});
 
    