We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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.



43.9k

Hi,

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



22.1k

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