When I try to invoke methods of a collection, why is there an error of SyntaxError: missing ; before statement @(shell)? Thanks.
SyntaxError: missing ; before statement @(shell)
$ mongo MongoDB
exit from mongoshell with quit() and try to run command in regular command prompt, it will work