A label is a String that is used to group nodes into sets.

A node may be labeled with any number of labels, including none. All nodes labeled with the same label belongs to the same set.

Many database queries can work with these sets instead of the whole graph, making queries easier to write and more efficient.

Labels are loaded lazily

Property definitions

neo4j $ NeoNode :: labels
	# A label is a `String` that is used to group nodes into sets.
	# A node may be labeled with any number of labels, including none.
	# All nodes labeled with the same label belongs to the same set.
	#
	# Many database queries can work with these sets instead of the whole graph,
	# making queries easier to write and more efficient.
	#
	# Labels are loaded lazily
	fun labels: Array[String] do return internal_labels or else load_labels
lib/neo4j/neo4j.nit:603,2--611,72