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

Function TestMatchQuery

client_test.go:61–69  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

59}
60
61func TestMatchQuery(t *testing.T) {
62 q := "MATCH (s)-[e]->(d) RETURN s,e,d"
63 res, err := graph.Query(q)
64 if err != nil {
65 t.Error(err)
66 }
67
68 checkQueryResults(t, res)
69}
70
71func TestMatchROQuery(t *testing.T) {
72 q := "MATCH (s)-[e]->(d) RETURN s,e,d"

Callers

nothing calls this directly

Calls 2

checkQueryResultsFunction · 0.85
QueryMethod · 0.80

Tested by

no test coverage detected