> Hi!
>
> Is there a way in Torque to handle foreign key like this:
>
> FOREIGN KEY (A, B) references TABLE2 (A, B)
>
> if yes, how should I describe it in XML schema?
> Does it make sense to make Foreign keys entities on their own, not just
> attributes? This would allow for more flexibility, because FKs _are_
> actually entities...
>
>Opinions?
>
>fedor.
In newtorque foreign keys are only allowed to be one column, but it can reference
a different column in the foreign table. That is FOREIGN KEY (A) references
TABLE2 (B). This is about as far as the flexibility goes at the moment.
Maybe you can think of a nice way of representing this in the xml schema file.
We'll also need to be able to add this to MapBuilder so that Peers are aware of
multi-column foreign keys.
BTW I'm almost finished with your patches along with some other stuff and I will
upload it tomorrow morning...
~ Leon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]