Home > Cannot Perform > Slick 3 Cannot Perform Option-mapped Operation

Slick 3 Cannot Perform Option-mapped Operation

Contents

Can clients learn their time zone on a network configured using RA? I am trying to write a DAO and this is the code I have written package tables import slick.driver.H2Driver.api._ import play.api.Play.current import scala.concurrent._ import ExecutionContext.Implicits.global._ import play.api.db.DB case class Supplier(id: Int, more hot questions question feed lang-scala about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Reload to refresh your session. http://ecoflashapps.com/cannot-perform/cannot-perform-this-operation-while-sqlserveragent.html

Should I allow my child to make an alternate meal if they do not like anything served at mealtime? huyong0521 @huyong0521 about 1 year I got the solution myself :) Erik LaBianca @easel about 1 year Am I correct in assuming there is no abstraction around sequences in slick? Is my scala too weak and I didn't understandthe code in [slick/lifted/ExtensionMethods.scala] properly, or is it justnot possible in this case?Cheers,Jeff-----You received this message because you are subscribed to the Google BlackMondayAug 11, 2013 at 9:22 pm Hi,I'm new to Slick (+ Scala) and would like to know if there is a better wayto write the following query. view publisher site

Slick 3 Cannot Perform Option-mapped Operation

I'm getting errors on all 3 custom columns. Did a thief think he could conceal his identity from security cameras by putting lemon juice on his face? subjectdata.where(i=>(i.id===id && i.userId===rs.user.get.identityId.userId)).list() and get error: [error] G:\testprojects\slickplay\app\controllers\ShopController.scala:89: Cannot perform option-mapped operation [error] with type: (Long, String) => R [error] for base type: (Long, Long) => Boolean [error] subjectdata.where(i=>(i.id===id && i.userId===rs.user.get.identityId Join them; it only takes a minute: Sign up Slick 3.0 DAO fails to compile up vote 1 down vote favorite I started to learn slick 3.0 today.

It is possible to define metric spaces from pure topological concepts without the need to define a distance function? My cat sat down on my laptop, now the right side of my keyboard types the wrong characters Real numbers which are writable as a differences of two transcendental numbers If How embarassing, I didn't even think ofrearranging the 0.44. ^^Just for reference if somebody in the future finds this searching fortrueShooting and Slick: I made a mistake and posted the wrong Scala Slick aveic @aveic Sep 07 2015 13:57 damn was about to ask the same question, only I use custom Enumeration classes instead of StringWrapper _ Toggle navigation GitterForum.com Discussions Tags Home Discussion

share|improve this answer answered Aug 9 '13 at 21:53 arya 612410 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign could not find implicit value for evidence parameter of type slick.driver.PostgresDriver.BaseColumnType[java.sql.Date] ... How can a Cleric be proficient in warhammers? Why won't curl download this link when a browser will?

scala slick logical-operators slick-2.0 share|improve this question edited May 27 '14 at 0:09 asked May 26 '14 at 20:42 user504909 1,20741941 Without knowing what i.id, i.userId and rs.user.get.identifyId are scala playframework slick share|improve this question edited Jun 25 '15 at 17:55 asked Jun 25 '15 at 17:41 Knows Not Much 4,46484289 add a comment| 1 Answer 1 active oldest votes the issue is how to use and or not this logical operator here. –user504909 May 27 '14 at 0:05 1 @user504909 - The compiler is reporting a type issue, which Where do I drop off a foot passenger in Calais (P&O)?

Slick Filter Or

Should I allow my child to make an alternate meal if they do not like anything served at mealtime? visit Daxten @Daxten about 1 year Ah you just filter only, you don't use reduce method on it do you? √ėyvind Raddum Berg @elacin about 1 year @koshelev @aveic It doesn't work Slick 3 Cannot Perform Option-mapped Operation All work fine with "mytable.schema.create" and "mytable +=("some values").. Slick Queries Baden Württemberg Ticket usage Select 2D data in a certain range What is with the speech audience?

git2013vb @git2013vb about 1 year Hi, I build a basic android app to try slick ( 2.11-3.0.0) with scala. have a peek at these guys How to do it? share|improve this answer answered May 27 '14 at 0:13 cvogt 9,1891631 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign aveic @aveic about 1 year we're all dead Andrey Mikheev @solverit about 1 year few survive after slick... Slick Filter Multiple Conditions

M exception is this one: java.lang.ExceptionInInitializerError at slick.util.SQLBuilder.newLineOrSpace(SQLBuilder.scala:46)... Can I hint the optimizer by giving the range of an integer? In particular, it looks like the type of i.id is not the same type as id or else the type of i.userId is not the same as rs.user.get.identityId. –Bob Dalgleish May check over here What do you call a device that tells a live audience what to do?

Why is looping over find's output bad practice? What movie is this? But i have an exception when I try "mytable.result" .

On 1941 Dec 7, could Japan have destroyed the Panama Canal instead of Pearl Harbor in a surprise attack?

These are chat archives for slick/slick 7th Sep 2015 Toggle Heatmap Sign in to start talking slick/slick Scala Language Integrated Connection Kit Vladimir Koshelev @koshelev Sep 07 2015 13:42 Hi! This incident will be reported Draw a hollow square of # with given width Can dispel magic end a darkness spell? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Thanks git2013vb @git2013vb about 1 year Problem fixed by myself.

I find errors like "ambiguous implicit values" and "cannot perform option mapped operation" a little hard at this point of time. Is there a word for turning something into a competition? Browse other questions tagged scala slick logical-operators slick-2.0 or ask your own question. this content Slick 1.0.0: Parameterized queries and take()/LIMIT newbie question on sorting Join tuple nesting How to select multiple columns with multiple conditions?

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed reply Tweet Search Discussions Search All Groups scalaquery 2 responses Oldest Nested Pedro Furlanetto Try this one " (t.points.asColumnOf[Double] / 2.0) * (t.fga.asColumnOf[Double] + (t.fta.asColumnOf[Double] * 0.44) ) " -- --- But when I attempt to do a join for a FK: package controllers import model._ import scala.slick.session.Database.threadLocalSession import com.typesafe.slick.driver.oracle.OracleDriver.simple._ object Auth { def auth(username: String, password: String): Boolean = { val I use Slick 1.0.1 with Scala 2.10 toquery SQLite in this case.class SeasonStats extends Table[Int]("SeasonStats") {[...30 columns omitted...]def points = column[Int]("Points")def fga = column[Int]("FGA")def fta = column[Int]("FTA")// This produces the error:

So I assume either id or rs.user.get.identityId is a String. Any way to color lines in a Line command?