diff --git a/README.md b/README.md index 249c79f..b22d489 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ const Account = mongoose.model('Account', new mongoose.Schema({ name: String, balance: Number })); ``` -## simple +#### simple ```javascript const ACID = require('mongoose-acid'); await ACID.make() @@ -30,7 +30,7 @@ await ACID.make() .exec(); ``` -## gets the value of the previous operation +#### gets the value of the previous operation ```javascript const ACID = require('mongoose-acid'); await ACID.make() @@ -41,7 +41,7 @@ await ACID.make() .exec(); ``` -## error handling +#### error handling ```javascript const ACID = require('mongoose-acid'); try{ @@ -57,7 +57,7 @@ try{ } ``` -## error handling +#### error handling ```javascript const ACID = require('mongoose-acid'); await ACID.make() @@ -72,7 +72,7 @@ await ACID.make() .exec(); ``` -## not when mongoose query +#### not when mongoose query ```javascript const ACID = require('mongoose-acid'); await ACID.make() @@ -85,7 +85,7 @@ await ACID.make() .exec(); ``` -## return to the promise operation (like `Model.create` return a Promise, there's no way to inject it) +#### return to the promise operation (like `Model.create` return a Promise, there's no way to inject it) ```javascript const ACID = require('mongoose-acid'); await ACID.make()