Re: Définition SQL et objets parents

nicod_ <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 23/06/2017 à 16:35, nicod_ a écrit :
> Juste l'objet parent, on pourra retrouver sa clé primaire.

Peut être pouvoir préciser la clé à utiliser aussi, ça ne serait pas 
forcément la clé primaire.
Exemple : une poupée russe dont l'objet parent serait une autre poupée 
russe, avec un id_matriochka et un id_matriochka_mere.

'objet_parent' => 'matriochka',
'objet_parent_cle' => 'id_matriochka_mere',

-- 
nicod_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.