func (u *User) Store() {
	cxn := System.getDB()
	defer cxn.Close()

	if _, err := cxn.Exec("insert into Users (Email, Name, Privileged) values (?, ?, ?) on conflict(email) do update set Name=excluded.Name, Privileged=excluded.Privileged", u.Email, u.Name); err != nil {
		panic(err)
	}
}
// Store records a new User to the database, or updates it if it already exists.
Store records a new User to the database, or updates it if it already exists.
// Store records a new User to the database or updates it if it already exists .
func (u *User) Store() {
	cxn := System.getDB()
	defer cxn.Close()
	if _, err := cxn.Exec("insert into Users (Email, Name, Privileged) values (?, ?, ?) on conflict(email) do update set Name=excluded.Name, Privileged=excluded.Privileged", u.Email, u.Name); err != nil {
		panic(err)
	}
}
func ( u * User ) Store ( ) { cxn := System . getDB ( ) defer cxn . Close ( ) if _ , err := cxn . Exec ( " " , u . Email , u . Name ) ; err != nil { panic ( err ) } }
Store records a new User to the database, or updates it if it already exists.
Store records a new User to the database or updates it if it already exists .