Programming language

Hi team, I am new to Mongodb and completed my M001 basic course. I am doing M121 aggregation framework and i am in week 1. I have a question regarding the commands being used . Is Mongodb has it’s own set of commands and syntax or is it Javascript ? I dont know javascript. Pls show some light on this.

Strictly speaking, it’s ECMAScript, although it’s commonly referred to as JavaScript. If you want to learn JavaScript then this is probably a good place to start:


I assume here that you’re asking about the commands in the mongo shell – obviously, each language driver implements commands in that language. As the documentation here says

The mongo shell is an interactive JavaScript interface to MongoDB. You can use the mongo shell to query and update data as well as perform administrative operations