I built a web application with meteor.js and I am able to see my users through the command prompt, but how can I go about deleting them?
I attempted using:
meteor mongo myapp.meteor.com
db.users.remove({_id:<user id>});
however, I encountered an error stating:
SyntaxError: Unexpected token <
I then tried without the use of <>
, but still faced an error message:
SyntaxError: Unexpected token ILLEGAL
Next, I gave this method a shot:
db.users.remove('USER_ID');
but unfortunately ran into the following error -_-
SyntaxError: Unexpected token ILLEGAL
Is there any chance someone could offer me some guidance? Also, just for curiosity's sake, does anyone know if there is a website where I can access my MongoDB data for my meteor web application and manage user deletions from there?