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
I am struggling with what information is available using dynamic(), based on the source code I have a guess of if only adding associations that return one element (so belongs_to) into the query which gets the dynamic part appended to.
However, this does allow for more advanced metrics on the user dashboard, like "number of likes per user" (or something like that) where "likes" would be a has_many relation in the user schema.
My personal end goal is, that I have a resource "events" which has RSVPs that I want to filter based on coming/not coming and the average count and similar information. Maybe my lack of Ecto experience is showing here 🙃
I do not see metrics on the roadmap, where they just forgotten in the documentation, are they planned for improvement, or what is the goal with them?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi 👋
In the demo I only see very basic metrics examples like summing a number of elements.
From the demo app:
I am struggling with what information is available using
dynamic()
, based on the source code I have a guess of if only adding associations that return one element (so belongs_to) into the query which gets the dynamic part appended to.However, this does allow for more advanced metrics on the user dashboard, like "number of likes per user" (or something like that) where "likes" would be a has_many relation in the user schema.
My personal end goal is, that I have a resource "events" which has RSVPs that I want to filter based on coming/not coming and the average count and similar information. Maybe my lack of Ecto experience is showing here 🙃
I do not see metrics on the roadmap, where they just forgotten in the documentation, are they planned for improvement, or what is the goal with them?
Thanks 😊
Beta Was this translation helpful? Give feedback.
All reactions