diff --git a/db/hotimedb.go b/db/hotimedb.go index b206f2a..a9c1a02 100644 --- a/db/hotimedb.go +++ b/db/hotimedb.go @@ -341,7 +341,7 @@ func (that *HoTimeDB) Query(query string, args ...interface{}) []Map { } return that.Query(query, args...) } - return nil + return that.Query(query, args...) } return that.Row(resl) @@ -379,6 +379,7 @@ func (that *HoTimeDB) Exec(query string, args ...interface{}) (sql.Result, *Erro } return that.Exec(query, args...) } + return that.Exec(query, args...) } return resl, that.LastErr