Implement count estimate query for postgresdb (#7956)

This commit is contained in:
Julian Giebel
2022-05-06 16:04:33 +02:00
committed by GitHub
parent 382baa7bdd
commit 288f66d8c4
3 changed files with 19 additions and 1 deletions

View File

@@ -174,6 +174,8 @@ namespace Content.Server.Database
{
return query.Where(log => EF.Functions.Like(log.Message, "%" + searchText + "%"));
}
public abstract int CountAdminLogs();
}
public class Preference