public DocumentEnumerable( CosmosClient cosmosClient, QueryContext queryContext, string collectionId, SelectExpression selectExpression) { _cosmosClient = cosmosClient; _queryContext = queryContext; _collectionId = collectionId; _selectExpression = selectExpression; }
public DocumentQueryExpression(bool async, string collectionId, SelectExpression selectExpression) { _async = async; _collectionId = collectionId; SelectExpression = selectExpression; }
private static IAsyncEnumerable <JObject> _QueryAsync( CosmosClient cosmosClient, QueryContext queryContext, string collectionId, SelectExpression selectExpression) => new DocumentAsyncEnumerable(cosmosClient, queryContext, collectionId, selectExpression);