We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
IsEmpty
Count==0
1 parent 0cfe338 commit d517a64Copy full SHA for d517a64
1 file changed
src/AgDatabase.cs
@@ -141,7 +141,7 @@ public List<BackupMetadata> RecentBackups()
141
});
142
143
// find all backups in that chain
144
- if (fullBackupLsnBag.Count == 0)
+ if (fullBackupLsnBag.IsEmpty)
145
throw new Exception($"Could not find any full backups for DB '{Name}'");
146
147
var databaseBackupLsn = fullBackupLsnBag.Max();
0 commit comments