neo4j :: NeoBatch :: load_node_edges
# Load in and out edges into node
fun load_node_edges(node: NeoNode) do
var job = new_job(node)
job.action = load_node_in_edges_action
job.method = "GET"
if node.id != null then
job.to = "/node/{node.id.to_s}/relationships/in"
else
job.to = "\{{node.batch_id.to_s}\}/relationships/in"
end
job = new_job(node)
job.action = load_node_out_edges_action
job.method = "GET"
if node.id != null then
job.to = "/node/{node.id.to_s}/relationships/out"
else
job.to = "\{{node.batch_id.to_s}\}/relationships/out"
end
end
lib/neo4j/neo4j.nit:826,2--844,4