variable mongo

por | 23 julio, 2020
var myEmployeeVar =
[
{
"EmployeeID" : 4,
"Name" : "Pedro",
"Title" : "Limpieza"
},
{
"EmployeeID" : 5,
"Name" : "Juan",
"Title" : "Gerente"
},
{
"EmployeeID" : 4,
"Name" : "Lalo",
"Title" : "Supervisor"
}
];

use Employee;
db.Employees.insert(myEmployeeVar);