Just beat me to it! @s.alpaslan, seems the only obvious solution. We really need a picker or dropdown in the query builder to allow us to apply a SQL function to a field as it’s a big omission. Also would be nice to have access to queries as well as tables and views
yeap @Hyperbytes … but you can create this query in wappler too …
and you can sum and count it in wappler … I think you want to more easy database query builder qui . If I understand you right. :))
if he wants to mysql view .. he can use all mysql functions in mysql view but if he dont want to use mysql view and he wants to only wappler functions .. @mrbdrm have to format it in wappler
I don’t know how, because I haven’t done it yet. But when you add a repeat to a page, and go to expression, choose your query, and then click the magic wand ----- you have Collections -> Group By. I believe this would be on expressions for other things too. I think the trick would be to figure out how to use this in conjunction with your query.
That worked on dmx-zone plugin for repeat. I don’t understand why it wouldn’t work on this. I couldn’t get it to work either. Because I don’t have your data or can see what you’re doing. When you just use count and DATE as the alias, what does the chart do? And what should it be doing that that isn’t doing?