title: Mongodb how to insert or update all?
body: <p>Spring boot mongo repository support saveAll,but it cause unique index insert error ,so I want use update.</p>
  
  <p>In my case,I want to insert or update 10 documents together.</p>
  
  <p>how to use updateAll?</p>