updated for changes to sqlx
This commit is contained in:
parent
7dc98e850d
commit
b0e7fb763a
2
log.go
2
log.go
|
@ -27,7 +27,7 @@ func (l *LogMessage) save() (sql.Result, error) {
|
||||||
}
|
}
|
||||||
// TODO: actually make this return something useful as a first param, might
|
// TODO: actually make this return something useful as a first param, might
|
||||||
// need RETURNING log_id?
|
// need RETURNING log_id?
|
||||||
return db.NamedExecMap(`
|
return db.NamedExec(`
|
||||||
INSERT INTO log
|
INSERT INTO log
|
||||||
(namespace, level, payload)
|
(namespace, level, payload)
|
||||||
VALUES
|
VALUES
|
||||||
|
|
Loading…
Reference in New Issue