[sqlalchemy] Re: [Decl. Layer] Multiple mappers for one table?

2009-01-13 Thread Michael Bayer
On Jan 13, 2009, at 10:04 AM, Andreas Jung wrote: > This fails: > > This is full-fledged mapper: > >class Arbeitsmittel(Base, AsDictMixin): > >__tablename__ = 'arbeitsmittel' >__table_args__ = ( >{ 'autoload' : True, }) > ># column redefinitions needed for

[sqlalchemy] Re: [Decl. Layer] Multiple mappers for one table?

2009-01-13 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13.01.2009 15:52 Uhr, Michael Bayer wrote: > > On Jan 13, 2009, at 8:19 AM, Andreas Jung wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Is it possible to define multiple mappers for one table? >> >> Usecase: I have one big tabl

[sqlalchemy] Re: [Decl. Layer] Multiple mappers for one table?

2009-01-13 Thread Michael Bayer
On Jan 13, 2009, at 8:19 AM, Andreas Jung wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Is it possible to define multiple mappers for one table? > > Usecase: I have one big table (60 cols) and one big mapper class. > For some reporting I don't need only a small number of cols. For