diff --git a/db.go b/db.go index 7c6f5f8..8fa75e2 100644 --- a/db.go +++ b/db.go @@ -197,9 +197,6 @@ func Query[TResult any](db *DB, sql string, vars map[string]interface{}) (*[]Que if err := db.con.Send(&res, "query", sql, vars); err != nil { return nil, err } - if res.Error != nil { - return nil, res.Error - } return res.Result, nil }