close

Model::whereNotNull

--

Eloquent has a method for that (Laravel 4.*/5.*);

Model::whereNotNull('sent_at')

--

https://stackoverflow.com/questions/21281504/how-do-you-check-if-not-null-with-eloquent

全站熱搜
創作者介紹
創作者 dizzy03 的頭像
dizzy03

碎碎念

dizzy03 發表在 痞客邦 留言(0) 人氣()