Storing meta data in models

If user table contaion id and name column $u=new User();, how can I assign some auxilary properties to $u? Currently, $x->noRow=3 is ignored by Model.



30.0k

Hi,

I think that by defining a new database field "noRow" in your User table will solve that !



12.6k

Clearly I don't want to alter database for non-persistent vairaibles.