code: public <T> T findUnique(@NotNull Class<T> cl, @NotNull SqlQuery query) {
          return executeQuery(rowMapperForClass(cl).unique(), query);
      }
docs: Finds a unique result from database, converting the database row to given class using default mechanisms.
  
  @throws NonUniqueResultException if there is more then one row
  @throws EmptyResultException if there are no rows