Closed AnnoyingTechnology closed 2 weeks ago
Currently this doesn't work because ->get returns a string
public function countRequests() :int { return Requests::_select(['count'=>'id']) ->where(['id_site'=>$this->get('id')]) ->first() ->execute() ->get('count_id'); }
Currently this doesn't work because ->get returns a string