QueryMulti runs multiple queries against the node.
(stmts []string)
| 203 | |
| 204 | // QueryMulti runs multiple queries against the node. |
| 205 | func (n *Node) QueryMulti(stmts []string) (string, error) { |
| 206 | j, err := json.Marshal(stmts) |
| 207 | if err != nil { |
| 208 | return "", err |
| 209 | } |
| 210 | return n.postQuery(string(j), "application/json") |
| 211 | } |
| 212 | |
| 213 | // QueryParameterized run a single parameterized query against the node |
| 214 | func (n *Node) QueryParameterized(stmt []any) (string, error) { |