mysql - Multi-table generic query model for CakePHP -


i have approximately 25 join queries need build run in project on cakephp.

it faster work in mysql workbench or phpmyadmin building queries, , drop php code use screwed cakephp model parms many times have no one-to-one relationship mysql query.

is there no-table or multi-table "take mysql" example reduces or eliminates cakephp complexity?

tldr:

use model's query() method write mysql you'd like.

more details:

it sounds haven't read through book. should try before bashing things don't understand.

for else might want learn how join things in cakephp:

how join using cakephp

and

how run mysql query in cakephp


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -