NxTIC/doc/storage.md

443 B

Notation

lightdb a take the value c at key b
"aL:b -> c"

I. New subject survey

INPUT: id_subject, contacts[], relations[]
LIGHTDB: subjectL, contactL, BEGIN


	// initialisation des données du sujet (contact par name)
	subjectL:id_subject -> [ ]

	// On enregistre chaque contact
	foreach contacts[] as i=>contact
		contactL:uniqid -> contact[i]
		subjectL:id_subject[contact[i].name] = uniqid++;


END