Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Rust-Query. Parent comment
val foos = sql"SELECT * from foos WHERE status = 'frobbed'".as[List[Foo]]
I think this is a nice middle ground, but constructing dynamic queries often can't be checked at compile-time.
(I'm probably getting the syntax somewhat wrong; I haven't done Scala in quite a few years at this point.)
There are no comments on this comment yet.
I think this is a nice middle ground, but constructing dynamic queries often can't be checked at compile-time.
(I'm probably getting the syntax somewhat wrong; I haven't done Scala in quite a few years at this point.)