Comparing version 1.2.3 to 1.2.4
@@ -5,4 +5,3 @@ /** | ||
*/ | ||
module.exports = function(_mongoose, collection){ | ||
var mongoose = _mongoose; | ||
module.exports = function (mongoose, collection) { | ||
var Schema = mongoose.Schema; | ||
@@ -9,0 +8,0 @@ |
{ | ||
"name": "fawn", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Library for atomic-ish operations in MongoDB", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Fawn | ||
## Promise based Library for transactions in MongoDB | ||
Fawn provides the ability to carry out edits on a mongoDB database as a series of steps. If an error occurs on any of the steps, the database is returned to it's initial state (it's state before the transaction started). | ||
Fawn provides the ability to carry out edits on a mongoDB database as a series of steps. If an error occurs on any of the steps, the database is returned to its initial state (its state before the transaction started). | ||
@@ -6,0 +6,0 @@ **View on [GitHub](https://github.com/e-oj/Fawn/)** |
46568
1075