Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix catListTable and friends #61

Merged
merged 1 commit into from
Jun 22, 2021
Merged

Fix catListTable and friends #61

merged 1 commit into from
Jun 22, 2021

Commits on Jun 22, 2021

  1. Fix catListTable and friends

    The implemtation before would produce incorrect results if tried to get the cartesian product of two queries built out of `unnest`. Which makes sense, because Postgres seems to special case products of `unnest` to have a `ZipList` semantics rather than the normal `[]`.
    
    The solution is to use `rebind` (from `Rel8.Query.Evaluate`) to rebind the results of such queries, so there is no `unnest` in the expressions we're `<*>`ing.
    shane-circuithub committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    bac704c View commit details
    Browse the repository at this point in the history