@supercharge/mongodb
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -233,5 +233,7 @@ 'use strict'; | ||
this.withAggregationFrom(builder => { | ||
builder | ||
.limit(1) | ||
.unwind(builder => builder.path(relationName)); | ||
builder.unwind(builder => { | ||
builder | ||
.path(relationName) | ||
.preserveNullAndEmptyArrays(); | ||
}); | ||
}); | ||
@@ -238,0 +240,0 @@ }); |
{ | ||
"name": "@supercharge/mongodb", | ||
"description": "An elegant MongoDB ORM for the Supercharge Framework", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": "Marcus Pöhls <marcus@superchargejs.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
173744
5043