Node.js + mongodb or mongojs?

I recently ported all my applications to node.js, as it should be. And I use the mongojs driver, however, I recently discovered that there is a mongodb driver. I was wondering if there is a difference between the two? Performance?

+6
source share
1 answer

Mongojs is simply easier to use, because some functions are both wrapped and more convenient to call.

This does not affect performance, but theoretically it is a bit slower because there is an additional function call.

You make good use of Node.js and your own driver. For starters and cleaner code, mongojs is a good option.

+13
source

All Articles