Replies: 1 comment
-
|
Also very open to any other suggestions on how to handle this kind of aggregate data. In this case, I often want to show it in either a search results or a filtered-view page. So, I don't want it to be part of the filtering itself; but, I want it show up as associated data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this is a good way to use the Wheels models. But, I like that you can define arbitrary properties using SQL. But, it's not so easy to get that pulled into a query unless it's selected by default. It would be interesting to be able to include them into the
.find*method as part of theinclude, maybe with asql:prefix. Exmaple:Without this, I have to explicitly spell out the
selectclause and include the computed property.Beta Was this translation helpful? Give feedback.
All reactions