Implement count estimate query for postgresdb (#7956)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
@@ -81,6 +82,11 @@ namespace Content.Server.Database
|
||||
.HasConversion(jsonByteArrayConverter);
|
||||
}
|
||||
|
||||
public override int CountAdminLogs()
|
||||
{
|
||||
return AdminLog.Count();
|
||||
}
|
||||
|
||||
private static string InetToString(IPAddress address, int mask) {
|
||||
if (address.IsIPv4MappedToIPv6)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user