/// <summary> /// Returns an asynchronous sequence of rows from this set of results. /// </summary> /// <remarks> /// <para>This method exists rather than making the class implement <see cref="IAsyncEnumerable{BigQueryRow}"/> to avoid /// ambiguity.</para> /// </remarks> /// <returns>An asynchronous sequence of rows from this set of results.</returns> public IAsyncEnumerable <BigQueryRow> GetRowsAsync() => _client.ListRowsAsync(TableReference, Schema, _options);
/// <summary> /// Asynchronously 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.ListRowsAsync(TableReference, TableSchema, ListRowsOptions)"/>. /// </summary> /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param> /// <returns>An asynchronous sequence of the rows within the table.</returns> public PagedAsyncEnumerable <TableDataList, BigQueryRow> ListRowsAsync(ListRowsOptions options = null) => _client.ListRowsAsync(Reference, Schema, options);