Yii Framework Forum: Using Zii Or Mysql Methods - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Using Zii Or Mysql Methods Should Zii be used to set timestamps or built-in MySQL

#1 User is offline   itlogic 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 08-July 14

Posted 08 July 2014 - 07:59 AM

In the book they describe using Zii to get timestamps for models with creation date and update date. Is it better to do it as the book describes, or just set the default to timestamp in MySQL and to timestamp on update?

Thanks;
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users