//引入DB use Illuminate\Support\Facades\DB; //Select $result = DB::table('table_name')->get(); $result = DB::table('table_name') ->where('id','=',$id) ->where('isEnabled','=',TRUE) ->get();
//引入DB use Illuminate\Support\Facades\DB; //Select $result = DB::table('table_name')->get(); $result = DB::table('table_name') ->where('id','=',$id) ->where('isEnabled','=',TRUE) ->get();
開始在上面輸入您的搜索詞,然後按回車進行搜索。按ESC取消。