当前位置: 动力学知识库 > 问答 > 编程问答 >

scala - scalikejdbc, return generated ids for batch insert

问题描述:

I want to get all generated ids when batch insert gets executed.

I use scalikejdbc 2.3.5. Is that possible at all? Couldn't find anything in docs

网友答案:

The operation is not supported yet in 2.3.x series. Since 2.4.0, it will be possible. 2.4.0 will be out this month. https://github.com/scalikejdbc/scalikejdbc/pull/492

分享给朋友:
您可能感兴趣的文章:
随机阅读: