MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / ParameterizedQuery

Method ParameterizedQuery

graph.go:143–148  ·  view source on GitHub ↗
(q string, params map[string]interface{})

Source from the content-addressed store, hash-verified

141}
142
143func (g *Graph) ParameterizedQuery(q string, params map[string]interface{}) (*QueryResult, error) {
144 if(params != nil){
145 q = BuildParamsHeader(params) + q
146 }
147 return g.Query(q);
148}
149
150// QueryWithOptions issues a query with the given timeout
151func (g *Graph) QueryWithOptions(q string, options *QueryOptions) (*QueryResult, error) {

Callers 1

TestParameterizedQueryFunction · 0.80

Calls 2

QueryMethod · 0.95
BuildParamsHeaderFunction · 0.85

Tested by 1

TestParameterizedQueryFunction · 0.64