My requirement is to do a batch update to a table. I was able to do a Batch insert but could not find a way to do the batch update in Slick3. Any sample or link to a document will be very help full. Tried to search the web could not find a solution. Using Slick 3 on Postgresql.
Asked
Active
Viewed 2,442 times
2
-
May be helpful: http://stackoverflow.com/questions/35001493/slick-3-0-bulk-insert-or-update – nmat Jan 22 '17 at 03:24
1 Answers
1
Why don't you just add whatever data you need to perform to a seq and perform the query. That will do the batching for you. Link here . This applies to all operations not only insert.
Look at this SO question to fall back on standard JDBC and do the update batching. Also there are some items the team is working on. See here.

Community
- 1
- 1

Som Bhattacharyya
- 3,972
- 35
- 54
-
Thank you Som. But I am not proficient in this area so it would be very helpful if you can pointy out an example instead of the document. – Prakash Apr 11 '16 at 05:39
-
okay can you update the question with the code of what you are doing right now ? I will update you with an example. – Som Bhattacharyya Apr 11 '16 at 05:43