Collection
enter image description here
Data
enter image description here
Result
enter image description here
There should be a method like update_many or insert_many. Upsert
enter image description here
I can’t figure out how to make sure that the data is inserted and if the fields don’t match, update them
New contributor
Влад is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.