how to create a row data packet nodejs code example Example: RowDataPacket var resultArray = Object.values(JSON.parse(JSON.stringify(rows)))