code: function openCollection (dataStore, collection, callback) {
    if (_.isString(collection)) {
      collection = new Resource(collection, "", "");
    }
    else if (!(collection instanceof Resource)) {
      throw ono("Expected a string or Resource object. Got a %s instead.", typeof (collection));
    }
  
    // Normalize the collection name
    let collectionName = collection.valueOf(dataStore.__router, true);
  
    // Open the data store
    dataStore.__openDataStore(collectionName, (err, resources) => {
      callback(err, collection, resources);
    });
  }
docs: Opens the given collection.
  
  @param   {DataStore}         dataStore  - The DataStore to operate on
  @param   {string|Resource}   collection - The collection path or a Resource object
  @param   {function}          callback   - Called with Error, collection Resource, and Resource array