Method
call
(&self, reducer_name: &str, arg_json: String)
Source from the content-addressed store, hash-verified
| 73 | } |
| 74 | |
| 75 | pub async fn call(&self, reducer_name: &str, arg_json: String) -> anyhow::Result<reqwest::Response> { |
| 76 | Ok(self |
| 77 | .client |
| 78 | .post(self.con.db_uri("call") + "/" + reducer_name) |
| 79 | .header(http::header::CONTENT_TYPE, "application/json") |
| 80 | .body(arg_json) |
| 81 | .send() |
| 82 | .await?) |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | pub(crate) type SqlStmtResult<'a> = |
Callers
nothing calls this directly
Tested by
no test coverage detected