从Node.js连接到SQL Server数据库

编程入门 行业动态 更新时间:2024-10-20 03:53:51
本文介绍了从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:看来微软终于发布了官方驱动程序: github. com/WindowsAzure/node-sqlserver

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

推荐答案

我不确定您是否看到了用于Node JS的MS SQL模块

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数据库

本文发布于:2023-10-24 14:28:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1524179.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:连接到   数据库   js   Node   SQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!