slick / slick-examples

A sample project for getting started with Slick
https://scala-slick.org/
156 stars 70 forks source link

Unnecessary usage of Session in MultiDBCakeExample.scala #12

Open pedrofurla opened 11 years ago

pedrofurla commented 11 years ago

In UserComponent.User the below session argument is not necessary.

private def autoInc(implicit session: Session) = name ~ pictureId returning id into { case (_, id) => id }