whole_func_string: function ensureIndexesForDataset(datasetId) {
    createIndexForCollection(getDatasetRecordsCollectionName(datasetId), {'uid': 1}, {});
    createIndexForCollection(getDatasetRecordsCollectionName(datasetId), {'refs': 1}, {});
    createIndexForCollection(require('./sync-updates').getDatasetUpdatesCollectionName(datasetId), {'cuid': 1, 'hash': 1}, {});
  }
func_code_string: function ensureIndexesForDataset(datasetId) {
    createIndexForCollection(getDatasetRecordsCollectionName(datasetId), {'uid': 1}, {});
    createIndexForCollection(getDatasetRecordsCollectionName(datasetId), {'refs': 1}, {});
    createIndexForCollection(require('./sync-updates').getDatasetUpdatesCollectionName(datasetId), {'cuid': 1, 'hash': 1}, {});
  }
func_documentation_string: Create all the indexes on the collections for a given dataset
  @param {String} datasetId