db.ReadAll zu db.ReadAllBriefings umbenannt, um neue DB-Struktur besser zu representieren

This commit is contained in:
2023-10-17 16:36:08 +02:00
parent 664c24974b
commit 230d79c675
2 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ func (db *DB) WriteBriefing(b *types.Briefing) error {
return nil
}
func (db *DB) ReadAll() ([]*types.Briefing, error) {
func (db *DB) ReadAllBriefings() ([]*types.Briefing, error) {
bs := make([]*types.Briefing, 0)
rows, err := db.Query("SELECT * FROM " + db.Name)