/// <summary> /// Returns an iterator over the query results. /// </summary> /// <returns>An iterator over the query results.</returns> public IEnumerator <BigQueryRow> GetEnumerator() => _client.ListRows(TableReference, Schema, _options).GetEnumerator();
/// <summary> /// Lists the rows within this table, similar to a <c>SELECT * FROM ...</c> query. /// This method just creates a <see cref="TableReference"/> and delegates to <see cref="BigQueryClient.ListRows(TableReference, TableSchema, ListRowsOptions)"/>. /// </summary> /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param> /// <returns>The results of listing the rows within the table.</returns> public PagedEnumerable <TableDataList, BigQueryRow> ListRows(ListRowsOptions options = null) => _client.ListRows(Reference, Schema, options);