code: public void query(Map map, String sql, Closure closure) throws SQLException {
          query(sql, singletonList(map), closure);
      }
docs: A variant of {@link #query(String, java.util.List, groovy.lang.Closure)}
  useful when providing the named parameters as named arguments.
  
  @param map     a map containing the named parameters
  @param sql     the sql statement
  @param closure called for each row with a GroovyResultSet
  @throws SQLException if a database access error occurs
  @since 1.8.7