[sqlalchemy] Re: mappers and non_primary arg

2010-07-05 Thread sandro dentella
Please, can anybody tell me what's the meaning of 'non_primary' arg of mapper function. I probably misunderstood it but I'd like to know what it is meant for. thanks sandro On Thu, Jul 01, 2010 at 10:41:44AM -0700, sandro dentella wrote: Hi, I'm trying to use non_primary arg of function

Re: [sqlalchemy] Re: mappers and non_primary arg

2010-07-05 Thread Michael Bayer
it means a mapper that defines a way of loading instances of a class from a particular selectable or table - but says nothing about how it should be persisted, or how its attributes should be defined. It is generally only useful as an alternative target in a relationship() that would like to