最成熟的原生Node.js MySQL驱动程序? [英] Most mature native Node.js MySQL driver?

查看:127
本文介绍了最成熟的原生Node.js MySQL驱动程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MySQL作为Rails应用程序,并希望能够将此数据库用于Node.js应用程序(特别是Tower.js)。目前最成熟和/或最高效的驱动程序是什么?






由于@ ryan的优秀输入如下,我更多地了解了 Felix的 node-mysql 这里有一个绝对优秀的播客,我强烈建议您倾听,如果您对这些选项以及节点的细微历史和一般性讨论感兴趣-mysql 路径可能适合您: http :/ / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /我非常有信心,这是任何人都可以采取的正确途径。此外,作为Node中数据库支持的一般状态,其他讨论很有意思。

这里是Node.js GitHub Wiki上所有MySQL模块的链接



node-mysql 似乎正是您所需要的。到目前为止,大多数观察者和开发人员看起来非常活跃。



然而,在Wiki页面上有相当多的选择,你可能想先看一下看看是否有更适合您需求的东西。


I'm using MySQL for a Rails application and would like to be able to use this database for a Node.js app (in particular Tower.js). What is the most mature and/or performant driver available for this at the moment?


Due to @ryan's excellent input below, I looked a bit more into Felix's node-mysql There is an absolutely EXCELLENT podcast here that's I'd highly recommend listening to if you're interested in a slight history and general discussion as to the options and if node-mysql path may be right for you: http://ia600804.us.archive.org/3/items/NodeupEleven/NodeupEleven.mp3

After giving that roundtable discussion a quick listen up to that point, I'm pretty confident that this is the right path for about anyone to take right now. Further, the other discussions that go around are interesting as a general state of database support in Node.

解决方案

Here is a link to all the MySQL modules on the Node.js GitHub Wiki.

node-mysql seems to be what you're looking for. It has by far the most watchers and development looks very active.

However, there is quite a selection on the Wiki page, you might want to have a look there first to see if there is something that better suits your needs.

这篇关于最成熟的原生Node.js MySQL驱动程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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