You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rawQueries example uses mapAllRows, but commit decc193 appears to have removed it, potentially in favour of streamToList(?).
I'd update the example but I'm currently trying to figure out how to use raw queries myself to get the whole record back!
edit from the next day: fromEntityPersistValues expects the first value to be the constructor number, and then the entity persistvalues for each of the entities fields. It's mentioned in the example, but the wording could be improved I think.
Thanks for the library so far!
The text was updated successfully, but these errors were encountered:
Hey there,
https://github.com/lykahb/groundhog/blob/146691a828db39932c8212cd68f732d74589e488/examples/rawQueries.hs
The rawQueries example uses
mapAllRows
, but commitdecc193
appears to have removed it, potentially in favour ofstreamToList
(?).I'd update the example but I'm currently trying to figure out how to use raw queries myself to get the whole record back!
edit from the next day:
fromEntityPersistValues
expects the first value to be the constructor number, and then the entity persistvalues for each of the entities fields. It's mentioned in the example, but the wording could be improved I think.Thanks for the library so far!
The text was updated successfully, but these errors were encountered: