Yii2 Framework

Yii2 Tips 23 : All About Where ActiveQuery

Select * From branches Where status_aktif = 1

Select * From branches Where status_aktif = 1 (Bind Param)

Select * From branches Where created_date <= now

Menampilkan nilai branches yang statusnya diterima (12), ditolak (13), pending (14)

Select * From branches Where name like ‘%%’