fix reactivemongo BC break in insight pipeline
This commit is contained in:
parent
134e4a1f5d
commit
e5d0ece460
|
@ -57,9 +57,9 @@ private final class AggregationPipeline {
|
||||||
private val regroupStacked = GroupField("_id.dimension")(
|
private val regroupStacked = GroupField("_id.dimension")(
|
||||||
"nb" -> SumField("v"),
|
"nb" -> SumField("v"),
|
||||||
"ids" -> FirstField("ids"),
|
"ids" -> FirstField("ids"),
|
||||||
"stack" -> Push(BSONDocument(
|
"stack" -> Push($doc(
|
||||||
"metric" -> "_id.metric",
|
"metric" -> "$_id.metric",
|
||||||
"v" -> "v"))).some
|
"v" -> "$v"))).some
|
||||||
private val sliceIds = Project($doc(
|
private val sliceIds = Project($doc(
|
||||||
"_id" -> true,
|
"_id" -> true,
|
||||||
"v" -> true,
|
"v" -> true,
|
||||||
|
|
Loading…
Reference in a new issue