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 ‘%%’

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.