scala - I don't get what should be the C[_] type in Slick 2.1 Query class -


I have just upgraded my skala project to slitch 2.1 and I found a compilation error due to a change in the query category definition. is. It can be found in the query [+ E, U] to query [+ E, U, C [_]] .

has been replaced by the I argument as a query type which is defined as the query [link, link] where Link and links

  case class links (/ * properties / /) class link (tag: tag) table [link ] (Tag, "crawl_arl") {/ * methods * /}  

I can not find how to declare the C [_] type parameter to compile my method

  Diff le limit (query: query [link, link, ??], border: it) = The master repository of sealik has a link to the source code of the query class.  < / P>     

C [_] is the underlying compilation type that will return slick.

It was added to 2.1.0:

In your case, you may change your method signature to:

  def takeLimit ( Query: query [link, link, CEC], border: int) = {/ * stuff * /}  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -