MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _create_index

Function _create_index

tests/flow/index_utils.py:13–19  ·  view source on GitHub ↗
(graph, q, label=None, t=None, sync=False)

Source from the content-addressed store, hash-verified

11 break
12
13def _create_index(graph, q, label=None, t=None, sync=False):
14 res = graph.query(q)
15
16 if sync:
17 _wait_on_index(graph, label, t)
18
19 return res
20
21def list_indicies(graph, label=None, t=None):
22 q = "CALL db.indexes()"

Callers 3

create_fulltext_indexFunction · 0.85

Calls 2

_wait_on_indexFunction · 0.85
queryMethod · 0.45

Tested by

no test coverage detected