Remove SELECT *

Hi ppl,

How are you?

Anyone knows a way to remove the "SELECT *" from ActiveRecord and change for a "SELECT with all table fields" ?

Huh?

SELECT * is indeed selecting all fields… - can you rephrase your question?

If you don’t want everything selected then use


CDbCriteria->select = 'what, you, want, to, select';