@brickyang/easy-mongodb
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -75,4 +75,2 @@ 'use strict'; | ||
this.db = client.db(this.config.name); | ||
Object.freeze(this.db); | ||
Object.freeze(this.client); | ||
this.emit('connect'); | ||
@@ -79,0 +77,0 @@ return client; |
{ | ||
"name": "@brickyang/easy-mongodb", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Based on MongoDB Native Node.js Driver.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
48562
788