changes Opus to opus

This commit is contained in:
2023-10-13 06:50:56 +02:00
parent d9dac53aa9
commit 84c679b3f3
3 changed files with 7 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ class Werk_unter_id:
WHERE id = {werk_id}
"""
werk_list_val = self.reader.execute(sql_wui).fetchone()
werk_list_att = ('id', 'comp_id', 'year', 'Opus', 'Sammlung', 'Haupttonart', 'Titel', 'Satztitel', 'Aliasname', 'Werkverzeichnis', 'Werkverzeichnisnummer')
werk_list_att = ('id', 'comp_id', 'year', 'opus', 'Sammlung', 'Haupttonart', 'Titel', 'Satztitel', 'Aliasname', 'Werkverzeichnis', 'Werkverzeichnisnummer')
for tup in zip(werk_list_att, werk_list_val):
self.values[tup[0]] = tup[1]

View File

@@ -10,7 +10,7 @@ CREATE TABLE work (
id INTEGER NOT NULL PRIMARY KEY,
comp_id INTEGER NOT NULL,
year INTEGER,
Opus VARCHAR(15),
opus VARCHAR(15),
Sammlung VARCHAR(127),
Haupttonart VARCHAR(15),
Titel VARCHAR(127),

View File

@@ -50,7 +50,7 @@ VALUES
(48,1,1742,'Das wohltemperierte Klavier Teil 2','h-Moll','Präludium und Fuge','BWV','893')
;
INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Aliasname, Werkverzeichnis, Werkverzeichnisnummer) VALUES
INSERT INTO work (id, comp_id, year, opus, Sammlung, Haupttonart, Titel, Aliasname, Werkverzeichnis, Werkverzeichnisnummer) VALUES
(49, 2, 1795, '2', 'Sonaten', 'f-Moll', 'Sonate', NULL, NULL, NULL),
(50, 2, 1795, '2', 'Sonaten', 'A-Dur', 'Sonate', NULL, NULL, NULL),
(51, 2, 1795, '2', 'Sonaten', 'C-Dur', 'Sonate', NULL, NULL, NULL),
@@ -85,15 +85,15 @@ INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Aliasna
(80, 2, 1822, '111', 'Sonaten', 'c-Moll', 'Sonate', NULL, NULL, NULL)
;
INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
INSERT INTO work (id, comp_id, year, opus, Sammlung, Haupttonart, Titel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
(81, 5, 1832, '2', NULL, NULL, 'Papillons', NULL, NULL);
INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Satztitel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
INSERT INTO work (id, comp_id, year, opus, Sammlung, Haupttonart, Titel, Satztitel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
(82, 4, 1827, '90', 'Impromptus', NULL, 'Vier Impromptus', 'Impromptu', 'D', '899'),
(83, 4, 1827, 'post. 142', 'Impromptus', NULL, 'Vier Impromptus', 'Impromptu', 'D', '935')
;
INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Satztitel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
INSERT INTO work (id, comp_id, year, opus, Sammlung, Haupttonart, Titel, Satztitel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
(84, 4, 1828, '94', 'Moments musicaux', NULL, 'Six moments musicaux', 'Moment musical', 'D', '780'),
(85, 3, 1834, '18', 'Walzer', 'Es-Dur', 'Grande Valse Brillante', NULL, NULL, NULL),
(86, 3, 1838, '34', 'Walzer', NULL, NULL, 'Walzer', NULL, NULL),
@@ -109,7 +109,7 @@ INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Satztit
(96, 3, 1830, NULL, 'Walzer', 'Es-Dur', 'Walzer', NULL, 'KK', 'IVa Nr. 14')
;
INSERT INTO work (id, comp_id, year, Opus, Sammlung, Haupttonart, Titel, Satztitel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
INSERT INTO work (id, comp_id, year, opus, Sammlung, Haupttonart, Titel, Satztitel, Werkverzeichnis, Werkverzeichnisnummer) VALUES
(97, 6, 1830, '19b', 'Lieder ohne Worte', NULL, 'Sechs Lieder ohne Worte', 'Lied ohne Worte', 'MWV', 'SD 5'),
(98, 6, 1834, '30', 'Lieder ohne Worte', NULL, 'Sechs Lieder ohne Worte', 'Lied ohne Worte', 'MWV', 'SD 9'),
(99, 6, 1837, '38', 'Lieder ohne Worte', NULL, 'Sechs Lieder ohne Worte', 'Lied ohne Worte', 'MWV', 'SD 16'),