public List<Employees> getEmployees(){ Query query = new Query(); query.addCriteria(Criteria.where("registrationDate").is("2")); return mongoTemplate.find(query, Visit.class); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)