mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
Tank info history query
This commit is contained in:
1 parent
9b9f2b141e
commit
eef4e9255b
14 files changed
+352
-32
No files matched your search
@@ -125,7 +125,7 @@ namespace WotBlitzStatisticsPro.DataAccess
|
||||
var history = await _database.GetCollection<TankInfoHistory>(TankInfoHistoryCollectionName)
|
||||
.FindAsync(
|
||||
Builders<TankInfoHistory>.Filter.Where(t =>
|
||||
t.TankInfoHistoryId.AccountId == accountId && t.TankId == tankId && t.TankInfoHistoryId.LastBattleTime >= lastBattleSince),
|
||||
t.TankInfoHistoryId.AccountId == accountId && t.TankInfoHistoryId.TankId == tankId && t.TankInfoHistoryId.LastBattleTime >= lastBattleSince),
|
||||
new FindOptions<TankInfoHistory>
|
||||
{Sort = Builders<TankInfoHistory>.Sort.Descending(h => h.TankInfoHistoryId.LastBattleTime)});
|
||||
return history.ToList();
|
||||
|
||||
Reference in new issue
Block a user