scalaquery- все статьи тега ➜ страница 0
scala slick метод я не могу понять до сих пор
Я пытаюсь понять некоторые скользкие работы и то, что он требует. вот пример: package models case class Bar(id: Option[Int] = None, name: String) object Bars extends Table[Bar]("bar") { def id = column[Int]("id", O.PrimaryKey, O.AutoInc) // This is the primary key column def name = column[String]("name") // Every table needs a * projection with the same type as the table's type parameter def * = id.? ~ name <>(Bar, Bar.unapply _) } может кто-нибудь объяснить мне, в чем це ...