default <T> ResultIterable<T> mapToBean(Class<T> type) {
        return map(BeanMapper.of(type));
    }
Maps this result set to a {@link ResultIterable} of the given element type, using {@link BeanMapper}.

@param type the bean type to map the result set rows to
@param <T>  the bean type to map the result set rows to
@return a {@link ResultIterable} of the given type.
core/src/main/java/org/jdbi/v3/core/result/ResultBearing.java