Using IF condition in SELECT in Active Record SQL scope (for Yii)
Instead of a string value use an array to specify different ‘select’ expressions (just a string will get exploded using…
Instead of a string value use an array to specify different ‘select’ expressions (just a string will get exploded using…