开发者

How can I eliminate CakePHP's "SHOW FULL COLUMNS" queries?

开发者 https://www.devze.com 2023-02-17 03:23 出处:网络
I realize that these might not necessarily be a huge performance issue, but I\'d like to get rid of any unnecessary SHOW FULL COLUMNS FROM queries that Cake generates. I\'ve tried using the Containabl

I realize that these might not necessarily be a huge performance issue, but I'd like to get rid of any unnecessary SHOW FULL COLUMNS FROM queries that Cake generates. I've tried using the Containable behavior, which I thought would stop Cake from looking at any associations that I haven't included in my find(), but I still see the SHOW FULL COLUMNS FROM queries in my SQL dump. I hav开发者_如何学Ce also tried unbindModel(), but it has no effect.

I'm not an expert, and don't understand all the intricacies of Cake, so any help here would be greatly appreciated!


Doesn't it cache it when the debug level is set to 0?

0

精彩评论

暂无评论...
验证码 换一张
取 消