codetech / codetechcomputerclub

codeTech Computer Club's website.
MIT License
4 stars 1 forks source link

Optimize calls to the find function. #7

Open jonjmz opened 10 years ago

jonjmz commented 10 years ago

Find uses of the $this->Model->find() call and add a 'fields' => array('requiredField1','requiredField2') option to reduce the amount of record being pulled.