according to Coding Standards that I created for myself, I create db tables and column names using lowercase and underscore to separate words, so columns are named like:
user_id, post_id etc.
However, when coding PHP I prefer to use camelCase:
$this -> userId, $this -> postId
Is it possible to set somewhere in Yii to create fields in classes using camelCase when in db are underscores? It’s probably hard to implement, but I believe it’s possible, so maybe Yii allows such thing?