why alias name for the primary table in a relational AR query is changed to be 't'

in CHANGELOG

I see

The alias name for the primary table in a relational AR query is changed to be ‘t’ (Qiang)

could somebody tell me why ?

if i name a table t, it will get some errors ??

我在CHANGELOG

看到

The alias name for the primary table in a relational AR query is changed to be ‘t’ (Qiang)

想請問一下,為什麼要把這個改成 t 呢

這樣要是我有一個 t table , 這樣會炸掉??

ref.

http://code.google.com/p/yii/issues/detail?can=2&q=796&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&id=796

http://www.yiiframework.com/forum/index.php?/topic/6571-why-was-default-alias-for-default-table-changed/page__gopid__33623&

http://code.google.com/p/yii/issues/detail?id=818

i see this in issue 796

Because table name can be very different from model name that is hard to remember and

type. For example Post model’s table can be named like “my_prefix_posts”.

is it personal problem?

這是個人的問題??

記不住table 的名稱, 還下什麼sql 的query ??

這感覺太不直覺了…

有table 的名稱直接下 遠比 alias 直覺很多吧~

i guess i have the same problem as you

http://www.yiiframework.com/forum/index.php?/topic/6571-why-was-default-alias-for-default-table-changed/

this default model table alias change give me really headaches cause I would had to change many many codelines only cause of this change. But I also think that the last word isn’t said so this could be changed or extended in the next version (hopefully!)