Retrieve the node that has the specified local id.

Note: The default implementation uses get_or_null.

Property definitions

neo4j $ NeoNodeCollection :: []
	# 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
lib/neo4j/graph/graph.nit:55,2--62,4

neo4j $ SequentialNodeCollection :: []
	redef fun [](id) do return nodes[id].as(NeoNode)
lib/neo4j/graph/sequential_id.nit:59,2--49