Richard Dallaway
Richard Dallaway
Thank you.
We need to: 1. Motivate 2. Explain the structure and arguments to `Compiled` 3. Note that compilation is slow, so do it once. 4. Give examples. Example: ``` val w...
Useful background reading: http://stackoverflow.com/questions/35414292/how-do-compiled-queries-in-slick-actually-work
> Configuring a connection pool is something that developers often get wrong. There are several, possibly counter-intuitive for some, principles that need to be understood when configuring the pool. >...
From the mailing list: > Slick's default is to set HikariCP's maxConnections to 5 times numThreads (see here). So by default, we are running with 20 threads and maxConnections=100. >...
Requested: https://twitter.com/tlockney/status/709212437224906754
I guess because I've picked up their questions on gitter/SO etc. Feel free to jump in there! On Tue, 15 Mar 2016 at 09:49 Jonathan Ferguson [email protected] wrote: > I...
I'm not sure why there's `inSet` as well as `inSetBind`. Example difference in behaviour: ``` scala> messages.filter(_.id inSet Set(1,3)).result.statements.mkString res2: String = select "sender", "content", "id" from "message" where "id"...
Relating to #9 - `inSet`/`inSetBind` queries can't be cached (`Compiled`) when the set of values are an argument to the query. That's because the SQL would vary based on the...
Also: compare and contrast `inSetBind` to `in`. One is for client-side values; the other for anything else. E.g., ``` scala messages.filter(_.id in messages.map(_.id)) ```