public async Task <int> EfficientDynamoDbBenchmark() { var result = await _efficientDbContext.Query <MixedEntity>() .WithKeyExpression(Condition <MixedEntity> .On(x => x.Pk).EqualTo("test")) .ToListAsync().ConfigureAwait(false); return(result.Count); }
protected override async Task <IReadOnlyCollection <object> > QueryAsync <T>(string pk) { return(await _context.Query <T>() .WithKeyExpression(Condition <T> .On(x => x.Pk).EqualTo("test")) .ToListAsync().ConfigureAwait(false)); }