Richard Dallaway

Results 73 comments of Richard Dallaway

With `mapTo` in Slick 3.2 I don't think this is relevant anymore.

This is still relevant because you just can't write a tuple with >22 elements for the left-hand side of `mapTo`. So if you want to avoid HLists for some reason,...

See also: http://slick.lightbend.com/doc/3.2.3/userdefined.html

Also for `and`: https://gitter.im/slick/slick?at=590a74e18e4b63533d2cfb6d

Also: useful as a workaround for no tuple support for `inSet`. E.g., replacing "select * where (x,y) in ( (1,2), (4,5) )" with "where (x=1 && y=2) or (x=4 &&...

Another one: https://stackoverflow.com/a/60511701/154248

Example: https://github.com/d6y/slick-postgresql-stored-proc

Sure. On Wed, 14 Oct 2015 at 08:37 Jonathan Ferguson [email protected] wrote: > Should this be moved against the ebook template? > > — > Reply to this email directly...

``` scala> messages.filter(_.id === 1L).result.statements res10: Iterable[String] = List(select "sender", "content", "id" from "message" where "id" = 1) scala> messages.filter(_.id === 1L.bind).result.statements res11: Iterable[String] = List(select "sender", "content", "id" from...