从Node.js连接到SQL Server数据库 [英] Connect to SQL Server database from Node.js

查看:502
本文介绍了从Node.js连接到SQL Server数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该问题重复了一些较早的问题,但此后情况可能有所改变.

The question duplicates some older questions, but the things may have changed since then.

是否存在从Node.js连接到SQL Server的官方支持(例如,来自MS的官方库)?还是至少有一些维护良好的第三方库适合于生产级应用程序?

Is there some official support for connecting to SQL Server from Node.js (e.g. official library from MS)? Or at least some well-maintained third-party library appropriate for a production-grade application?

我们通常使用ASP.NET MVC/SQL Server组合,但是目前我有一个Express/Node.js似乎更合适的任务(我想尝试一些新的东西),所以问题是是否可以依靠Node.js和SQL Server交互.

We usually use ASP.NET MVC/SQL Server combination, but currently I have a task for which express/Node.js seems to be more appropriate (and I'd like to play with something new), so the question is whether we can rely on a Node.js and SQL Server interaction.

UPD:看来微软终于发布了官方驱动程序: https://github. com/WindowsAzure/node-sqlserver

UPD: It seems that Microsoft has, at last, released the official driver: https://github.com/WindowsAzure/node-sqlserver

推荐答案

我不确定您是否看到了

I am not sure did you see this list of MS SQL Modules for Node JS

在可能的情况下使用一种,分享您的经验.

Share your experience after using one if possible .

祝你好运

这篇关于从Node.js连接到SQL Server数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆