发生异常:TypeError TypeError:connection.queryRaw不是函数

时间:2018-12-15 09:30:20

标签: node.js node-mssql

Exception has occurred: TypeError
TypeError: connection.queryRaw is not a function
    at parent.acquire (c:\Users\Dinuka\dev\UpperKothmaleBackEnd\node_modules\mssql\lib\msnodesqlv8.js:458:32)
    at _acquire.then.connection (c:\Users\Dinuka\dev\UpperKothmaleBackEnd\node_modules\mssql\lib\base.js:174:42)
    at process._tickCallback (internal/process/next_tick.js:68:7)

我正在使用mssql 4.3和节点10.13.0 当我运行包含ConnectionPool的代码时,会引发此异常。

请帮助!

0 个答案:

没有答案