i found it in alchemy:

ForeignKeyConstraint(['invoice_id', 'ref_num'],
['invoices.invoice_id', 'invoices.ref_num'])

posted on elixir list too, but expressing it in elixir would help a
lot, too :) .

thanks

On Wed, Oct 1, 2008 at 9:26 AM, alex bodnaru <[EMAIL PROTECTED]> wrote:
> hello friends,
>
> how could a foreign key reference a unique (but not primary kyey)
> column combination?
>

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

Reply via email to