From 820be9ec0c788f446d2eaa229f6b366e157737b2 Mon Sep 17 00:00:00 2001 From: dtboy <936776640@qq.com> Date: Wed, 13 Mar 2019 17:11:09 +0800 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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()