func ReadAllSubjects() []Subject {
	var subjects []Subject
	db.Select(&subjects, `SELECT short, name, splitclass FROM subjects ORDER BY name asc`)

	return subjects
}
// ReadAllSubjects fetches all subject records from the database and
// returns a slice with all subjects found.
ReadAllSubjects fetches all subject records from the database and
returns a slice with all subjects found.
// ReadAllSubjects fetches all subject records from the database and // returns a slice with all subjects found .
func ReadAllSubjects() []Subject {
	var subjects []Subject
	db.Select(&subjects, `SELECT short, name, splitclass FROM subjects ORDER BY name asc`)
	return subjects
}
func ReadAllSubjects ( ) [ ] Subject { var subjects [ ] Subject db . Select ( & subjects , `SELECT short, name, splitclass FROM subjects ORDER BY name asc` ) return subjects }
ReadAllSubjects fetches all subject records from the database and
returns a slice with all subjects found.
ReadAllSubjects fetches all subject records from the database and returns a slice with all subjects found .