Wiki

Articles tagged with "activerecord"X
Displaying 1-3 of 3 result(s).

Drills : Search by a HAS_MANY relation in Yii 2.0

Created 7 months ago by softarkTutorials1 comment – viewed 8,567 times – ( +9 ) – version 2.0
This article tries to describe the practical techniques of searching by a HAS_MANY relation using ActiveRecord of Yii 2.0.

Using counters with ActiveRecord

Created 3 years ago by davi_alexandreTips9 comments – viewed 23,647 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).