I've been using Slick's insertOrUpdate
since its release in 2.1 version without any issue.
Right now I'm trying to improve my code performance and insertOrUpdate is the bottleneck (according to jProfiler). I thought I could improve this by using
a compiled query but as far as I can see, invoking insertOrUpdate
I have a SingleInsertOrUpdateResult
and not a Query
object.
Is there a way to get a compiled query for insertOrUpdate
? Or is there another way to improve it's performance?
Thanks in advance