![]() |
(01-18-2022, 03:41 AM)InsiteFX Wrote: This should help you out. When i try adding selectAvg it returns only the rating field instead of the complete dataSet. Example of the code is below PHP Code: function getAllBranches() Thank you for the input. You have pointed me to the right direction. All I had to do was Add select('*) before selectAvg. Works as expected. See code below PHP Code: function getAllBranches() |
Messages In This Thread |
retrieve average rating on a join - by remesses_thegreat - 01-18-2022, 02:06 AM
RE: retrieve average rating on a join - by InsiteFX - 01-18-2022, 03:41 AM
RE: retrieve average rating on a join - by remesses_thegreat - 01-18-2022, 10:54 AM
|