title: Laravel 5.5 - update or create bulk insert
body: <p>i am trying to preform update or create action on many records using laravel model.
  Normal insert with updateOrCreate works perfectly with foreach but i want to avoide it as it slowing things down.
  I have something like 200k records.
  Is there is any way to achive it?
  I tried this answer below
  <a href="https://stackoverflow.com/a/34815725/1239122">https://stackoverflow.com/a/34815725/1239122</a>
  But it is not super elegant.
  Any ideas?</p>