Moritz Schmale
Moritz Schmale
I have pushed another set of commits that fix the necessary offset in the parameters. While testing with the inferred type `:any` I noticed that postgrex (or postgres) always assumes...
stop getting my hopes up with the pointless `+1` bumps :P
For preloads I'm not so worried about it, for me it's mainly about the `join: x in assoc(y, :z)` syntax, that we use all over the codebase for this association...
The usage of my custom assoc works like this: in the schema: ```elixir defmodule Book do import Book.CommentStatsAssoc schema "book" do comment_stats :comment_stats end end ``` and in the query:...
I also thought about the problem with the parent_as, maybe instead of adding an alias to the parent table all the time, the planner could transform an alias found in...
Yeah adding a new callback isn't my favorite solution either. I think transforming the aliases is a much nicer and more readable solution. I can also look into how a...
As soon as you have this association that uses a subquery with a filter that references some column from other queries, you can't use anything but lateral joins in SQL...
> sometimes I want the association to be joined in an inner join How would you join a subquery that can only be used in a lateral join with an...
Thanks for continuing to work on this. My original intention to go the route with the custom assoc was to avoid having to rewrite every query in our app that...
I think it’s because the app crashes when you quit it and OS X thinks that there has been something wrong with it because of it. I’m not sure what...