0

Is there any API in Play-Slick where we can do insert or update at same time. We are using Play-Slick 0.8.0.

Thanks

αƞjiβ
  • 3,056
  • 14
  • 58
  • 95

1 Answers1

3

I don't believe so. Play-Slick 0.8.0 is based on Slick 2.1.0 which does not have an upsert function.

EDIT - I stand corrected, there is a insertOrUpdate function.

LuxuryMode
  • 33,401
  • 34
  • 117
  • 188