audiobookshelf/server/models
mikiher 40504da4d7
Improve book library page query performance for author sort order (#4080)
* Add migration to create authorNames* columns, in libraryItems including update triggers and indices

* Add authorNames columns and indices to LibraryItem model

* Add database triggers for updating author names in libraryItems (for new databases)

* Populate authorNames during book scanning

* Update book sorting to use new authorNames columns

* Add an index on podcastEpisodes.publishedAt

* Fix group_concat order by and update to sqlite 3.44.2

---------

Co-authored-by: advplyr <advplyr@protonmail.com>
2025-03-17 17:09:49 -05:00
..
Author.js Migrate to new library item in scanner 2025-01-05 12:05:01 -06:00
Book.js Allow number types for payload metadata when updating books. (#4118) 2025-03-16 08:42:18 -05:00
BookAuthor.js Add: migrations for authors, series, and podcast episodes 2024-10-19 10:40:17 -07:00
BookSeries.js Add: migrations for authors, series, and podcast episodes 2024-10-19 10:40:17 -07:00
Collection.js Update controllers to use toOldJSON functions 2025-01-04 15:20:41 -06:00
CollectionBook.js Refactor Collection model/controller to not use old Collection object, remove 2024-12-30 16:54:48 -06:00
CustomMetadataProvider.js Clean out old unused functions, Device updates for replacing DeviceInfo 2024-09-12 16:36:39 -05:00
Device.js Clean out old unused functions, Device updates for replacing DeviceInfo 2024-09-12 16:36:39 -05:00
Feed.js Update RSS feed to exclude empty tags, format duration, use CDATA 2025-01-20 13:57:56 -06:00
FeedEpisode.js Fix feeds for collection/series pub date increment #3442 2025-01-28 17:11:57 -06:00
Library.js Fix:Server crash deleting library that has playback sessions #3634 2024-11-22 17:20:31 -06:00
LibraryFolder.js Updates to LibraryController to use new Library model 2024-08-24 15:38:15 -05:00
LibraryItem.js Improve book library page query performance for author sort order (#4080) 2025-03-17 17:09:49 -05:00
MediaItemShare.js Migrate to new library item in scanner 2025-01-05 12:05:01 -06:00
MediaProgress.js fix updating progress not updating finishedAt 2025-03-10 13:58:52 +01:00
PlaybackSession.js Update uuid migration to v2.17.0 and for all tables still using UUIDv4 2024-11-17 15:45:21 -06:00
Playlist.js Update controllers to use toOldJSON functions 2025-01-04 15:20:41 -06:00
PlaylistMediaItem.js Fix find all playlist endpoint 2024-12-31 17:11:31 -06:00
Podcast.js Clear LibraryItemsPodcastFilters count cache after podcast[Episode] is created or destroryed 2025-02-16 13:27:47 +02:00
PodcastEpisode.js Improve book library page query performance for author sort order (#4080) 2025-03-17 17:09:49 -05:00
Series.js Migrate to new library item in scanner 2025-01-05 12:05:01 -06:00
Setting.js Remove unused functions, jsdoc updates, auto-formatting 2024-05-28 17:24:02 -05:00
User.js Merge pull request #3546 from justcallmelarry/master 2025-02-28 17:25:46 -06:00