Implement api
This commit is contained in:
1 parent
80a99c425b
commit
b2e34c00a4
30 files changed
+708
-69
No files matched your search
@@ -43,7 +43,7 @@ func (d Adapter) Select(ctx context.Context, ptr any, query string, args ...any)
|
||||
consistencyFromContext(ctx).appendParams(params)
|
||||
err := d.cli.Post("/db/query").
|
||||
QueryParams(params).
|
||||
JsonRequestBody(request(query, args...)).
|
||||
JsonRequestBody(requests(request(query, args...))).
|
||||
JsonResponseBody(&resp).
|
||||
StatusCodeToError().
|
||||
DoWithoutResponse(ctx)
|
||||
|
||||
Reference in new issue
Block a user