neo4j :: NeoNodeCollection :: []
Note: The default implementation uses get_or_null.
get_or_null
# Retrieve the node that has the specified local id. # # Note: The default implementation uses `get_or_null`. fun [](id: ID_TYPE): NeoNode do var n = get_or_null(id) assert n isa NeoNode return n end
redef fun [](id) do return nodes[id].as(NeoNode)