Question: Mongo DB Can someone explain me where do I have a problem? and help me fix it - C. Command Prompt - mongo > db.createCollection
Mongo DB

Can someone explain me where do I have a problem?
and help me fix it
- C. Command Prompt - mongo > db.createCollection ("employee") {{ "ok" : 1} > show collection uncaught exception: Error: don't know how to show [collection] : shellHelper.show@src/mongo/shell/utils.js:1211:11 shellHelper@src/mongo/shell/utils.js:838:15 @(shellhelp2):1:1 > Show collections employee > db.employee.insertMany ( [employee_id:11, last_name: "Miller", first_name: "Luz", salary: 1000000, position: "CEO", ",},{employ ee_id:22, last_name: "Smith", first_name: "Jhon", salary:108000, position: "Operation manager", }, {employee_id:33, last_name : "Cruz", salary:100000, position: "Quality control", }, {employee_id:44, last_name"Anderson", first_name: "Tutu", salary:900 ee, position:"Accountant", },{employee_id:55, last_name: "Jonas", first_name: "Bro", salary:90000, position: "Accountant", }, {employee_id:66, last_name: "Miley", first_name:"Linda", salary:89000, position: "Office manager", }, {employee_id:77, last_ name: "Lovato", first_name: "Demi", salary:80000, position: "Receptionist", }, {employee_id:88, last_name: "Davis", first_name : "David", salary: 80000, position: "Purchasing Manager", }, {employee_id:99, last_name: "Cooper", first_name:"Luther", salar y:70000, position: "Personal staff",},{employee_id:100, last_name: "Garcia", first_name: "Jennifer", salary: 68000, positio n: "Personal staff", }]) uncaught exception: SyntaxError: missing ] after element list : @(shell):1:35 >
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
