gim v1.2.2 Gim.Query View Source

Defines queries on schemas.

Link to this section Summary

Functions

Returns the target nodes following the edges of given label for the given node.

Adds a new filter to the query.

Returns wether the given node has any outgoing edges for the given label.

Returns wether the given node has any outgoing edges.

Computes all isolated nodes from a repo.

Link to this section Functions

Link to this function

add_edge(node, assoc, targets)

View Source
Link to this function

delete_edge(node, assoc, targets)

View Source

Returns the target nodes following the edges of given label for the given node.

Link to this function

expand(queryable, edge_or_path)

View Source
Link to this function

filter(queryable, op \\ nil, filter)

View Source

Adds a new filter to the query.

Returns wether the given node has any outgoing edges for the given label.

Returns wether the given node has any outgoing edges.

Link to this function

intersection(nodes1, nodes2)

View Source

Computes all isolated nodes from a repo.

Link to this function

reachable(nodes, edge, target)

View Source