On Mon, 25 Jul 2016 01:37:10 -0400
Mike Bayer <mike...@zzzcomputing.com> wrote:

> On 07/25/2016 12:23 AM, Ameretat Reith wrote:
> >  
> >>> mapper(Father1980,fathers,inherits=fathersMapper,
> >>>        polymorphic_identity='young-father')  
> >>
> >> you have the wrong table above ("fathers" and not "fathers80s").
> >> There's a bug here in how the ORM is corrupting the table in
> >> response to this which I'll fix separately.  
> >
> > I'm actually trying to map both `Father' and `Father1980' to the
> > same table, `fathers'.  Like [1] but without declarative API.
> > `fathers80s' is here just to show separating tables solve the
> > issue.  
> 
> leave the table argument None on Father1980

Thanks a billion Mike!

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to