e-oj / Fawn

Transactions for MongoDB (See the README)
https://www.npmjs.com/package/fawn
MIT License
486 stars 54 forks source link

Mongoose #10

Closed mathieug closed 7 years ago

mathieug commented 7 years ago

This package is a great idea. I think it should not depend on Mongoose and should work directly with node-mongodb-native. To use it with Mongoose should be an option/feature.

e-oj commented 7 years ago

Yeah. I've been thinking about that for a while now. It will definitely be implemented in the near future.

e-oj commented 7 years ago

This has been implemented. As of v2.0.0 tasks will run using the driver by default with an option to use mongoose. Check the docs for details. Thanks for your input.

fritx commented 7 years ago

But seems the tests are still related to mongoose?

e-oj commented 7 years ago

Most of the tests run with the native driver actually.The mongoose tests are here

fritx commented 7 years ago

Nice, will try it now!

fritx commented 6 years ago

Already working with my mongo-model-2 (based on mongodb instead of mongoose) for couple of months!