Reminds me of the query methods in Spring Data JPA: https://docs.spring.io/spring-data/jpa/reference/jpa/query-m...
Except that those are serious and work well for a lot of basic queries.