DB::connection("pgsql_remote")->enableQueryLog();$datas= $models->where($where)->orderBy($orderBy,$this->orderByType)->paginate($perPage);$sql = DB::connection("pgsql_remote")->getQueryLog();
13 篇文章