Wiki

Articles tagged with "activerecord", sorted by viewsX
Displaying 1-3 of 3 result(s).

Using counters with ActiveRecord

Created 3 years ago by davi_alexandreTips8 comments – viewed 20,712 times – ( +14 / -1 ) – version 1.1
Let's say, for example, that you are developing a blog or some kind of CMS and you want to track the number of times each post was viewed (maybe to show a list of the most viewed ones).

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 8 days ago by softarkTutorials0 comments – viewed 1,243 times – ( +3 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.