[storm] many to one on the same table

ROY-PRESTATAIRE Fabien (SILCA) fabien.roy-prestataire at ca-silca.fr
Fri Dec 29 15:15:58 UTC 2017


Hi,

Is it possible given this class :
class Group(Storm):
    __storm_table__ = "_group"
    name = Unicode(primary=True)
    parent_group_name = Unicode()

to have using the same table a Group object that references another Group thru the < parent_group_name > column in a many to one relationship ?


Cordialement / Thanks.

Fabien ROY

Outils Open et Middleware
IPF/PSO/OPM/SUIM
tel : +33 1 42 95 00 65
 fabien.roy-prestataire at ca-silca.fr<mailto:fabien.roy-prestataire at ca-silca.fr>
SILCA_DDO_PSO_OPM_TOPX
Wiki : https://wiki.sws.group.gca/display/SH/Dossier+Technique+d%27Application
[Description : Description : Description : Description : Description : Description : Description : 20120113_Visuel SILCA_MAIL_2]


___________________________________________________________________________________________________

Ce message et toutes les pi�ces jointes (ci-apr�s le "Message") sont strictement confidentiels et sont �tablis � l'attention exclusive de ses destinataires.

Si vous recevez ce message par erreur, merci de le d�truire et d'en avertir imm�diatement l'exp�diteur par e-mail. 

Toute utilisation de ce message non conforme � sa destination, toute modification, �dition, ou diffusion totale ou partielle non autoris�e est interdite. SILCA  d�cline toute responsabilit� au titre de ce Message s'il a �t� alt�r�, d�form�, falsifi� ou encore �dit� ou diffus� sans autorisation.



This  mail message and attachments (the "Message") are confidential and solely intended for the addressees.

If you receive this message in error, please delete it and immediately notify the sender by e-mail.

Any  use  other than its intended purpose, review, retransmission, dissemination, either whole or partial is prohibited except  if  formal approval  is granted.

SILCA shall not be liable for the Message if altered, changed, falsified , retransmeted or disseminated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/storm/attachments/20171229/735f9dba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5038 bytes
Desc: image001.jpg
URL: <https://lists.ubuntu.com/archives/storm/attachments/20171229/735f9dba/attachment.jpg>


More information about the storm mailing list