How mongoose updates a subdocument in a subdocument array

clipboard.png

The

structure is shown in the figure. Steps is an array. Now you want to modify the count value of a specified date.

Mar.13,2021
Menu