Closed mrsoto closed 6 years ago
+1
It's possible to write a simple string to the columns parameter of the select
function. But if I write sum or avg in there Medoo breaks it for some reason. No complicated query can be written with this library. I am so disappointed.
@germansokolov13 It's possible on next version https://github.com/catfan/Medoo/issues/635
This is great news! I could also use query
with full SQL statement but then I don't know how to pass an array of ids to the IN ()
expression of the WHERE
sentence. Maybe I could work around this?
It's now released.
Select clause only support columns aliased or not but doesn't support aggregate functions in conjunction with group by clause