Every time I enter the command it just gives me “…”, if I press enter, I get “…” again, and then once more, then returns to normal mongo shell, without giving me any answer to the query…
The … is the secondary prompt. It means that the command your enter is not terminated and that the interpreter is waiting for you to complete the command.
Thanks @steevej-1495, It was missing a } in the query, but it didn’t give me an error.
By the way, I managed to answer it, thanks for the help!
It won’t give you an error as it terminate the query after providing you 3 attempts to complete it.