Closed henricook closed 6 years ago
@henricook well, you have more than 22 columns, which forced slick-codegen to use HList.
:-o I thought all the 22 limit type problems had gone with 2.12! Oh noes.
Do you know if it's still possible to access the data from the HList, or do i really need to just trim my table down?
I'm not used to it. Maybe you can access the data like this: firstMatch(0)
.. firstMatch(23)
.
Awesome thank you, that worked! You're a boss :+1:
Hi all,
I have a table, and i've got the jsonb columns being recognised successfully as JsValues by using slick-pg, and i'm at the point where i can insert a row successfully. Slick-codegen however generates a weird 'ResultsRow' definition which is stopping me reading that data back. See below for schema and examples:
I'm trying to do this:
The issue is that firstMatch is of type 'ResultsRow' but it has no accessible fields. I'm assuming it's because of:
Generates this scary looking row type:
Other tables generate types like:
Schema: