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
According to documentation
Collection names should begin with an underscore or a letter character
Check here or here how to remove or access your wrongly named collection.