Skip to content

Compass

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

1 result found

  1. Possibility to set variables used in pipeline stages

    Hi !
    It would be really handfull to have the possibility to use variables in the pipeline stages:

    var userId = ObjectId("5f61dfadc1e8960001700da8'")
    {
    $match : {user.id : userId}
    }

    for complex queries, it would avoid having to modify the id at each stages.
    Thanks !

    9 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Feedback and Knowledge Base