I am writing a web application in play framework. I decided to use slick (FRM) to query in my database (postgre). I am new to slick so I started following slick official document for revision 3.0.0 http://slick.typesafe.com/doc/3.0.0/gettingstarted.html
As per the documentation, I added dependencies in my build.sbt file
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % "3.0.0",
"org.slf4j" % "slf4j-nop" % "1.6.4"
)
Everything else is working fine but while writing below line in my Scala IDE. It is showing error that
value seq is not a member of object slick.dbio.DBIO
val setup = DBIO.seq(
// Above line is showing error
(suppliers.schema ++ coffees.schema).create,
.
.
.
)
In fact Scala IDE (same as eclipse IDE) isn't detecting any member of object DBIO though when I browse slick api of same version http://slick.typesafe.com/doc/3.0.0/api/#slick.dbio.DBIO$ for object DBIO I am seeing seq as it's member.
Where am I doing wrong?
As anticipated by retronym and Chris Scot, this problem was fixed with the release of Slick 3.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With