Query returns string instead of int using Typescript/Javascript
Currently I have this typescript/javascript function that connects to my SQL Server and returns data. async function SQLQuery(query: string, database: string) { try { #connects to custom pool manager const pool = await poolManager.get(database, dbconn[database]); #Performs query var result =…