thinkphp5中where條件使用數組表達式

Db::table('think_user')
->where([
'name' => ['like','thinkphp%'],
'title' => ['like','%thinkphp'],
'id' => ['>',0],
'status'=> 1
])
->select();php

相關文章
相關標籤/搜索