code: public static List<Object[]> queryObjectArrays(String poolName, String sql, Object[] params)
        throws YankSQLException {
  
      List<Object[]> returnList = null;
  
      try {
  
        ArrayListHandler resultSetHandler = new ArrayListHandler();
        returnList =
            new QueryRunner(YANK_POOL_MANAGER.getConnectionPool(poolName))
                .query(sql, resultSetHandler, params);
  
      } catch (SQLException e) {
        handleSQLException(e, poolName, sql);
      }
  
      return returnList;
    }
docs: Return a List of generic Object[]s given an SQL statement
  
  @param poolName The name of the connection pool to query against
  @param sql The SQL statement
  @param params The replacement parameters
  @return The List of generic Object[]s