I need to manually add a property to a Entity, as its a OneToMany,
however the remove side has no foreign key, and instead looks more
like an associable, in that it has a target_class and target_id
instead. I see no way to hook it up using the normal OneToMany since
that requires a ManyToOne on the other side... and the ManyToOne
apparently requires there to be a foreign key going back.

Is there some other way to setup the OneToMany with my custom join
conditions and foreign key assignments? I didn't see any, so I was
attempting instead to manually add the property directly to the mapper
using using_mapper_options, but you can't supply a properties argument
since SA will then get 2 properties arguments. Shouldn't Elixir let
you specify properties for the mapper and merge its own in?

Cheers,
Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to