Song: Add ColumnIndex helper function

This commit is contained in:
Jonas Kvinge
2024-04-23 01:55:57 +02:00
parent 105d472f5d
commit ac0926d40b
2 changed files with 69 additions and 62 deletions

View File

@@ -353,6 +353,7 @@ class Song {
static bool save_embedded_cover_supported(const FileType filetype);
bool save_embedded_cover_supported() const { return url().isLocalFile() && save_embedded_cover_supported(filetype()) && !has_cue(); };
static int ColumnIndex(const QString &field);
static QString JoinSpec(const QString &table);
// Pretty accessors