mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
- Removed usage of obsolete methods
- Removed unneeded argument from ValidateQuery in Searches.cs - Using split query when loading all guild configs
This commit is contained in:
@@ -45,9 +45,9 @@ public static class GuildConfigExtensions
|
||||
|
||||
private static IQueryable<GuildConfig> IncludeEverything(this DbSet<GuildConfig> configs)
|
||||
{
|
||||
// todo split query
|
||||
return configs
|
||||
.AsQueryable()
|
||||
.AsSplitQuery()
|
||||
.Include(gc => gc.CommandCooldowns)
|
||||
.Include(gc => gc.FollowedStreams)
|
||||
.Include(gc => gc.StreamRole)
|
||||
|
Reference in New Issue
Block a user