-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small database batch refactoring to speed up some subsonic API queries #361
Conversation
namespace | ||
{ | ||
template <typename ResultType> | ||
Wt::Dbo::Query<ResultType> createQuery(Session& session, std::string_view itemToSelect, const Artist::FindParameters& params) |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
|| params.artist.isValid() | ||
|| params.clusters.size() == 1) | ||
template <typename ResultType> | ||
Wt::Dbo::Query<ResultType> createQuery(Session& session, std::string_view itemToSelect, const Release::FindParameters& params) |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
@@ -39,11 +39,12 @@ | |||
{ | |||
namespace | |||
{ | |||
Wt::Dbo::Query<TrackId> createQuery(Session& session, const Track::FindParameters& params) | |||
template <typename ResultType> | |||
Wt::Dbo::Query<ResultType> createQuery(Session& session, std::string_view itemToSelect, const Track::FindParameters& params) |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
addEntry(tracklistEntry); | ||
} | ||
|
||
void PlayQueue::addEntry(const Database::TrackListEntry::pointer& tracklistEntry) |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
}; | ||
} | ||
|
||
PlayQueue::PlayQueue() |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
refreshView(); | ||
} | ||
|
||
void Artist::refreshView() |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
refreshView(); | ||
} | ||
|
||
void Release::refreshView() |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
refreshView(); | ||
} | ||
|
||
void TrackList::refreshView() |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
} | ||
namespace | ||
{ | ||
void showReleaseInfoModal(Database::ReleaseId releaseId) |
Check warning
Code scanning / CodeQL
Poorly documented large function Warning
No description provided.