M121 Chapter1 : lab $match

why i am getting three dots rather than MongoDB Enterprise cluster tag when i assign match operator to the var pipeline


i am able to connect to cluster using mango shell , able to see collections, but getting three dots when i declare variable and assign match operation.
i am on windows 10

The three dots is the extra line prompts. You get that when pressing enter while your command is not terminated. So you are missing quotes, closing braces or brackets.

2 Likes

missing closing square bracket.

Yes but we do not necessarily see the whole line. But if what we see is the whole line, he is also missing 2 closing braces; one to close the object that starts with "imdb.rating" and a second one to close the object that starts with $match.