Skip to content

Is $unwind supported? #134

@adamxyzxyz

Description

@adamxyzxyz

Hello,

I am running a query on grafana cloud to get data inside a nested document, the query is below

db.data.aggregate(
  [
    { 
    $limit: 1 
    },
    {
      $unwind: "$data_field"
    },
    {"$project": {
      "1": "$data_field.1",
      "2": "$data_fields.2",
      "3": "$data_field.3",
      "4": "$data_field.4",
      "5": "$data_field.5"
      }
    },
    {$sort: {datetime: -1}}
  ]
)

As usual, this query doesn't work with this plugin. Is the unwind feature supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions