essential-slick icon indicating copy to clipboard operation
essential-slick copied to clipboard

Mention asColumnOf

Open d6y opened this issue 8 years ago • 2 comments

E.g., useful for comparing a ID[T] against a primitive type if you need to. Perhaps when converting a schema to have improved types over time.

http://stackoverflow.com/questions/41465003/compare-mappedto-with-raw-type-in-slick-query/42069543#42069543

d6y avatar Feb 06 '17 16:02 d6y

Also for running string extension methods on optional strings: https://stackoverflow.com/a/45409859/154248

d6y avatar Jul 31 '17 07:07 d6y

NB: as Slick 3.3.0, there's a mapping in place for string extension methods. E.g., if your column is an Option[String] you can now just like that or whatever. Fact check needed!

d6y avatar Feb 04 '19 14:02 d6y