// DeleteDrinks deletes all the drinks from the db
DeleteDrinks deletes all the drinks from the db
// DeleteDrinks deletes all the drinks from the db
func (db *Db) DeleteDrinks() error {
	defer helpers.Duration(time.Now(), "deleteDrinks")
	_, err := db.conn.Exec("DELETE FROM drink")
	if err != nil {
		log.Errorf("db: failed to delete drinks: %s\n", err)
	}
	return nil
}
func ( db * Db ) DeleteDrinks ( ) error { defer helpers . Duration ( time . Now ( ) , " " ) _ , err := db . conn . Exec ( " " ) if err != nil { log . Errorf ( " \n " , err ) } return nil }
DeleteDrinks deletes all the drinks from the db
DeleteDrinks deletes all the drinks from the db