func (s *Subject) Create() {
	// Verify that this subject isn't in the database already.
	if !s.Exists() {
		// This subject (subject with this short) is not in the database
		// already, so it is inserted now.
		stmt := `INSERT INTO subjects(short, name, splitclass) VALUES (?, ?, ?)`
		db.Exec(stmt, s.Short, s.Name, s.SplitClass)
	}
}
// Create inserts this subject into the database. This only happens
// if there isn't an entry with this subject's short already. Otherwise
// nothing happens.
Create inserts this subject into the database. This only happens
if there isn't an entry with this subject's short already. Otherwise
nothing happens.
// Create inserts this subject into the database . This only happens // if there isn ' t an entry with this subject ' s short already . Otherwise // nothing happens .
func (s *Subject) Create() {
	if !s.Exists() {
		stmt := `INSERT INTO subjects(short, name, splitclass) VALUES (?, ?, ?)`
		db.Exec(stmt, s.Short, s.Name, s.SplitClass)
	}
}
func ( s * Subject ) Create ( ) { if ! s . Exists ( ) { stmt := `INSERT INTO subjects(short, name, splitclass) VALUES (?, ?, ?)` db . Exec ( stmt , s . Short , s . Name , s . SplitClass ) } }
Create inserts this subject into the database.
Create inserts this subject into the database .
// Verify that this subject isn't in the database already. // This subject (subject with this short) is not in the database // already, so it is inserted now.