public ArrayList<Meeting> getAllMeetingsFromDatabase(){
        ArrayList<Meeting> meetings = new ArrayList<>();
        ArrayList<HashMap<String, String>> meetings_raw = mySQLQuery.getAllRows("Meeting");

        for(HashMap<String, String> meeting_raw : meetings_raw){
            int meetingID = Integer.parseInt(meeting_raw.get("meetingID"));
            String startTime = meeting_raw.get("startTime").substring(0, meeting_raw.get("startTime").length()-2).replace(' ', 'T');
            String endTime = meeting_raw.get("endTime").substring(0, meeting_raw.get("endTime").length()-2).replace(' ', 'T');
            String description = meeting_raw.get("description") == null ? "" : meeting_raw.get("description");
            String place = meeting_raw.get("place") == null ? "" : meeting_raw.get("place");
            int room = meeting_raw.get("room") == null ? -1 : Integer.parseInt(meeting_raw.get("room"));
            int minCapacity = meeting_raw.get("minCapacity") == null ? -1 : Integer.parseInt(meeting_raw.get("minCapacity"));
            String creator = meeting_raw.get("creator");
            String lastUpdated = meeting_raw.get("lastUpdated") == null ? null : meeting_raw.get("lastUpdated").substring(0, meeting_raw.get("lastUpdated").length()-2).replace(' ', 'T');

            meetings.add(new Meeting(meetingID, startTime, endTime, description, place, room, minCapacity, creator, lastUpdated));
        }

        return meetings;
    }