Created
October 15, 2018 21:39
-
-
Save coline-carle/667a0fedd53899ac0ef0febdb7326173 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (db *DB) DeleteAllAchievementsAndCategoriesWithTransaction(tx Tx) error { | |
const sqlStatement = ` | |
DELETE FROM achievements_categories | |
` | |
_, err := tx.Exec(sqlStatement) | |
return err | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment