All individual subscriptions are 50% off this week only!

moktar
3 months ago

optimize for loop query

Posted 3 months ago by moktar

Hello Folks , i'm using laravel charts to get some data from databse for last month , so the for loop checkeng each day if there a data or not , i can't find a way to get the same result with less queries , so like images there more than 60 query for 2 charts , so is there any other way to get result with less queries ??

Please sign in or create an account to participate in this conversation.