code: function map(resultSet, maps, mapId, columnPrefix) {
  
      let mappedCollection = [];
  
      resultSet.forEach(result => {
          injectResultInCollection(result, mappedCollection, maps, mapId, columnPrefix);
      });
  
      return mappedCollection;
  }
docs: Maps a resultSet to an array of objects.
  
  @param {Array} resultSet - an array of database results
  @param {Array} maps - an array of result maps
  @param {String} mapId - mapId of the top-level objects in the resultSet
  @param {String} [columnPrefix] - prefix that should be applied to the column names of the top-level objects
  @returns {Array} array of mapped objects