Skip to main content
1 of 2
zouhair
  • 113
  • 1
  • 2
  • 7

how to insert a new information in vector ( mongodb )

db.students.insert({first_name:'AA',last_name:'BB',cours_reussis:[{intitule:'PAI',note:0,name_school:'EPFC']}) I would like to update a field only. name_school : "ENSA" instead of " EPFC" thank you soo much

zouhair
  • 113
  • 1
  • 2
  • 7