Em Sáb, 2008-02-23 às 23:53 -0800, Michael Bayer escreveu:
> that relation from "Goal" to "person" is still not really correct; it
> will return a Person object when what you really want is a
> Representative.  
hum, I not thought by this way... you are correct, but in my case, I
will only load goals from Person and Representative, and not the
inverse.

> why do you need the half-broken Goal->person
> relation ?  if its just for writing and not reading, why can you just
> set the enable_typechecks=False flag ?
is exactly what I done, I've passed enable_typechecks=False, to solve
the problem, and all is working the way I want.
The only way to solve this is no removing the backref, but who knows, is
create a flag in OneToMany() relation like "no_backref=True", but the
work is the same as put "enable_typechecks=False" than looking at it
now, the only reason for change it is if the backref change the
performance, if no change, leave all as is.

Thank's to all for replies.

-- 
Alexandre da Silva
Analista de Sistemas - Bacharel em Sistemas de Informação (2003-2007)


--~--~---------~--~----~------------~-------~--~----~
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