I have an aggregate query like this
`$ db.histories.aggregate([{$match:{"issue_id":{$in:ids},"history_comment":{$exists:true,$not:{$size:0}}}},{$unwind:"$history_comment"}])`
translating this to `go` using `mgo`
var h []History
query := []bson.M{
{"$match": bson.M{
"issue_id": bson.M{"$in": IDs},
"history_comment": bson.M{"$exists": true, "$not": bson.M{"$size": 0}}}},
{"$unwind": "$history_comment"},
}
err := c.Pipe(query).All(&h)
but I received an `err`
`Unknown element kind (0x2E)`
how is this possible? is my query wrong? really appreciate any help.