updated for changes to sqlx
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user