operaciones updated
This commit is contained in:
parent
548f6b628e
commit
5dd63276cf
@ -181,9 +181,9 @@ func (g *GormDatabase) GetCredencialesFromTemplate(whereTemplate string, variabl
|
|||||||
config.Log.Infof(" %s = %v", k, v)
|
config.Log.Infof(" %s = %v", k, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
config.Log.Debugf("📝 Consulta final construida:")
|
config.Log.Info("📝 Consulta final construida:")
|
||||||
config.Log.Debugf(" Query: %s", query)
|
config.Log.Infof(" Query: %s", query)
|
||||||
config.Log.Debugf(" Args: %v", args)
|
config.Log.Infof(" Args: %v", args)
|
||||||
|
|
||||||
err := g.db.Where(query, args...).First(&cred).Error
|
err := g.db.Where(query, args...).First(&cred).Error
|
||||||
return &cred, err
|
return &cred, err
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user