hola simula ser experto en mongodb y dime por que esta relacion entre colecciones no funciona: db.cars.insertMany([{
  carId: "c001",
  brand: "Toyota",
  model: "Corolla",
  year: 2020,
  type: {
   $ref: $id: db.category.findOne({"description": “sedan”})._id},
  price: 2000
 },
  {
  carId: "c002",
  brand: "Toyota",
  model: "Corolla",
  year: 2020,
  type: {
   "$ref": "category",
   "$id": "cat02",
   "description": "sport",
  },
  price: 800
  }]) Avoid using the following keywords: db.cars.insertmany, brand, ser, simula
user