damless-mongo
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -150,3 +150,4 @@ /*! | ||
aggregate(pipeline, options) { | ||
return new Aggregate(this, pipeline, options); | ||
if (!pipeline) throw new Error("Pipeline is not defined."); | ||
return new Aggregate(this, pipeline.filter(e => !!e), options); | ||
} | ||
@@ -153,0 +154,0 @@ |
{ | ||
"name": "damless-mongo", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Mongo client for damless", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
334534
1568