[英]What is the most mature/stable mysql node.js module
I am looking to do some work around mysql and node.js and have found a few different modules out there but I cannot get a good bead on their stability/maturity.我希望围绕 mysql 和 node.js 做一些工作,并且已经找到了一些不同的模块,但我无法很好地了解它们的稳定性/成熟度。 I know each author puts very hard work into each one, but for the work we're doing I need to know I've got a solid mysql foundation.
我知道每位作者都非常努力,但对于我们正在做的工作,我需要知道我有扎实的 mysql 基础。 The modules I've found that look pretty good are:
我发现看起来不错的模块是:
I don't have many needs that are too far out of the ordinary.我没有太多超乎寻常的需求。 I need regular query support, extras would be nice, I just need a good foundation to start from.
我需要常规查询支持,额外的会很好,我只需要一个良好的基础开始。 Any input as to the strengths and weaknesses of these modules would be great.
关于这些模块的优点和缺点的任何输入都会很好。 If there is another quality contender I have not found I am not at all against considering another option.
如果我没有发现另一个质量竞争者,我完全不反对考虑另一种选择。
I'm the author of node-mysql-native driver, from my point of view the differences are我是 node-mysql-native 驱动程序的作者,从我的角度来看,差异是
update更新
As of 11/07/2013截至 2013 年 11 月 7 日
I went through a similar search and ended up settling on node-mysql.我进行了类似的搜索,最终选择了 node-mysql。 I like it's simplicity, the fact that it's pure js, and that it's well supported.
我喜欢它的简单性,它是纯 js,并且得到很好的支持。 It was slower in tests that I did than some of the mixed modules (those that used non-js libs), but I did a minor patch that helped considerably with that for my cases:
我做的测试比一些混合模块(那些使用非 js 库的模块)慢,但我做了一个小补丁,对我的情况有很大帮助:
https://github.com/geochap/node-mysql https://github.com/geocap/node-mysql
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.