我希望从MySql node中调用存储过程:
我该如何调用?文档中写道:
You can call stored procedures from your queries as with any other mysql driver. If the stored procedure produces several result sets, they are exposed to you the same way as the results for multiple statement queries
我尝试在互联网上搜索,但得到的结果都很旧,不能再使用了。
我尝试过:
connection.query('procedure_name()', {84,Bhuwan}, function(err, result) {
connection.destroy();
if (err)
throw err;
callback(err, result);
});
但是我遇到了错误。
有人可以提供正确的语法吗?
[84,Bhuwan]
值? - mscdex