Two in one:
Right, but do it in one query instead of x and have a more flexible data model at the same time.
On 7 May,2014, Karel Piwko wrote:
I think it is a good idea to simplify underlying model. Could we
additionally provide SQL views that groups only one variant and expose it
via REST point?
Right I would like to keep the REST endpoint the same as this is our interface. Don’t know if we should base the grouping on views as we should support multiple databases, and like you said don’t know if this can be done for H2, for now let’s keep it simple and just do a `group by` query?
Cheers,
Erik Jan