mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-19 22:20:33 +01:00
Complete LinkedChildren integration and batch DTO optimizations
This commit integrates remaining performance changes: - Add batch user data fetching in DtoService to reduce N+1 queries - Add GetNextUpEpisodesBatch in TVSeriesManager for efficient batch retrieval - Update Video/Movie/BoxSet to use LibraryManager for alternate versions - Transition LinkedChild to use ItemId instead of Path (obsolete Path/LibraryItemId) - Update providers and controllers for LinkedChildren-based references - Add NextUpEpisodeBatchResult for batched episode queries - Integrate IDescendantQueryProvider in SqliteDatabaseProvider
This commit is contained in:
@@ -17,6 +17,12 @@ public interface IJellyfinDatabaseProvider
|
||||
/// </summary>
|
||||
IDbContextFactory<JellyfinDbContext>? DbContextFactory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the descendant query provider for this database type.
|
||||
/// Used for recursive CTE queries to find all descendants of an item.
|
||||
/// </summary>
|
||||
IDescendantQueryProvider DescendantQueryProvider { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Initialises jellyfins EFCore database access.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user