my task is so that I can get the result of the message variable, but I get only the following result in the console: result [object Promise]
async function Testing() {
let rest = await new Promise((res, rejects) => {
db.query("SELECT * FROM `nitrоboost`", (error, row) => {
if (error) {
console.log(error);
}
});
});
return rest;
}
let message = Testing();
console.log(`result` + message);