func (t *Teacher) Exists() bool {
	var count int
	db.Get(&count, "SELECT count(*) FROM teachers WHERE short = ?", t.Short)
	return count > 0
}
// Exists tells whether there is a teacher record with this teacher's short.
Exists tells whether there is a teacher record with this teacher's short.
// Exists tells whether there is a teacher record with this teacher ' s short .
func (t *Teacher) Exists() bool {
	var count int
	db.Get(&count, "SELECT count(*) FROM teachers WHERE short = ?", t.Short)
	return count > 0
}
func ( t * Teacher ) Exists ( ) bool { var count int db . Get ( & count , " " , t . Short ) return count > 0 }
Exists tells whether there is a teacher record with this teacher's short.
Exists tells whether there is a teacher record with this teacher ' s short .