use stored procedures to do all the calculations with your database as you're already pulling data out of it. Much quicker than querying and using Php to calc.
KevinCreel said:
use stored procedures to do all the calculations with your database as you're already pulling data out of it. Much quicker than querying and using Php to calc.
I could do that thanks. But in some calculations i need to return an array and can not do it only by procedures. For example an array to create a chart. Where should i do them?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community