I was thinking of doing it like this:

 confc:
   foreignid:   { type: integer, primaryKey: true}
   foreignref:  { type: integer, primaryKey: true}
   cname:       varchar(30)
   cvalue:      varchar(80)

problem is that I need to do a join when the cname=template on the
cvalue.
would that be possible
left join on cname='template' cvalue = template.id
never had a database construction like this, lets try :)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to