How does Node.js get the value of the out parameter after executing the mysql stored procedure with the out parameter?

how does Node.js get the value of the out parameter after executing the mysql stored procedure with the out parameter? I want to get the values of the two parameters _ totalcount,_pagecount, but the return value is not in rows. The code is as follows:

        ssql = "call sp_MvcCommonDataSource(?,?,?,?,?,?,?,@_totalcount,@_pagecount,@ss)";
        sqlParam=["*","article","","id",pageindex,pagesize,""];
        connection.query(sql,sqlParam, function (err, rows, fields) {
            if (err) {
                throw err;
                console.log(":" + err);
            }
            else {
                json = JSON.stringify(rows)
                console.log(":" + json);
            
              //  res.send(json);
            }
            
Mar.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36d98-4d6e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36d98-4d6e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?