Closed Aflynn50 closed 1 year ago
This PR adds a method to DB called RunQuery. This method is shorthand for
DB
RunQuery
stmt, err := Prepare(query, args...) if err != nil { ... } err := db.Query(ctx, stmt, args...).Run()
For example instead of the above, you would write:
err := db.RunQuery(ctx, query, args...)
This PR is waiting on #63
This PR adds a method to
DB
calledRunQuery
. This method is shorthand forFor example instead of the above, you would write:
This PR is waiting on #63