ParameterizedQueryWithOptions issues a parameterized query with the given timeout
(q string, params map[string]interface{}, options *QueryOptions)
| 165 | |
| 166 | // ParameterizedQueryWithOptions issues a parameterized query with the given timeout |
| 167 | func (g *Graph) ParameterizedQueryWithOptions(q string, params map[string]interface{}, options *QueryOptions) (*QueryResult, error) { |
| 168 | if(params != nil){ |
| 169 | q = BuildParamsHeader(params) + q |
| 170 | } |
| 171 | return g.QueryWithOptions(q, options); |
| 172 | } |
| 173 | |
| 174 | // ROQueryWithOptions issues a read-only query with the given timeout |
| 175 | func (g *Graph) ROQueryWithOptions(q string, options *QueryOptions) (*QueryResult, error) { |