debug sql

main
nilo 2025-03-12 19:59:03 -03:00
parent 17edaaff20
commit 7125c4b316
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import (
func GetChannelByName(channelname string) models.Channel {
var channel models.Channel
globals.DB.Where("name = ?", channelname).Find(&channel)
globals.DB.Debug().Where("name = ?", channelname).Find(&channel)
return channel
}