mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
17 lines
No EOL
406 B
C#
17 lines
No EOL
406 B
C#
using SqlKata;
|
|
|
|
namespace PluralKit.Core;
|
|
|
|
public partial class ModelRepository
|
|
{
|
|
public Task<Counts> GetStats() => _db.QueryFirst<Counts>(new Query("info"));
|
|
|
|
public class Counts
|
|
{
|
|
public long SystemCount { get; }
|
|
public long MemberCount { get; }
|
|
public long GroupCount { get; }
|
|
public long SwitchCount { get; }
|
|
public long MessageCount { get; }
|
|
}
|
|
} |