diff --git a/lib/bigquery/dataset.js b/lib/bigquery/dataset.js index 4bb46c5059f..ba8177e0dcd 100644 --- a/lib/bigquery/dataset.js +++ b/lib/bigquery/dataset.js @@ -181,14 +181,14 @@ nodeutil.inherits(Dataset, ServiceObject); * @param {object} callback.apiResponse - The full API response. * * @example - * var tableConfig = { - * id: 'institution_data', + * var tableId = 'institution_data'; * + * var options = { * // From the data.gov CSV dataset (http://goo.gl/kSE7z6): * schema: 'UNITID,INSTNM,ADDR,CITY,STABBR,ZIP,FIPS,OBEREG,CHFNM,...' * }; * - * dataset.createTable(tableConfig, function(err, table, apiResponse) {}); + * dataset.createTable(tableId, options, function(err, table, apiResponse) {}); */ Dataset.prototype.createTable = function(id, options, callback) { var self = this;