遇到一個情況,要用if else做不同的where查詢。 平常SQL指令都是一行到底,要怎麼分段寫呢? 重點是: $query = $query->where('self', '<>', true); ...
確定! 回上一頁