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

Function GraphContext_HasIndices

src/graph/graphcontext.c:551–558  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Index API ------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

549// Index API
550//------------------------------------------------------------------------------
551bool GraphContext_HasIndices(GraphContext *gc) {
552 ASSERT(gc != NULL);
553
554 const bool has_node_indices = GraphContext_NodeIndexCount(gc);
555 const bool has_edge_indices = GraphContext_EdgeIndexCount(gc);
556
557 return has_node_indices || has_edge_indices;
558}
559
560uint64_t GraphContext_NodeIndexCount
561(

Callers 3

DeleteNodesFunction · 0.85
DeleteEdgesFunction · 0.85
utilizeIndicesFunction · 0.85

Calls 2

Tested by

no test coverage detected