Christophe Alexandre
Sent: 06 November 2007 15:59
To: sqlalchemy@googlegroups.com
Subject: [sqlalchemy] Re: access mapped object attributes
Hi,
I am also interested in retrieving all the attributes resulting from the
ORM.
The loop on '.c' will list only the database columns. Is there a wa
November 05, 2007 8:45 PM
> To: sqlalchemy@googlegroups.com
> Subject: [sqlalchemy] Re: access mapped object attributes
>
>
> Hi,
>
> >Given a Message object, do I have a way to retrieve all the attributes
> >
lto:[EMAIL PROTECTED]
On Behalf Of Paul Johnston
Sent: Monday, November 05, 2007 8:45 PM
To: sqlalchemy@googlegroups.com
Subject: [sqlalchemy] Re: access mapped object attributes
Hi,
>Given a Message object, do I have a way to retrieve all the attributes
>that result from the database mapp
On 11/5/07, Paul Johnston <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> >Given a Message object, do I have a way to retrieve all the attributes
> >that result from the database mapping?
> >
> Try this:
>
> for col in Message.c:
It works. thanks a lot Paul,
--
Eric
--~--~-~--~~~
Hi,
>Given a Message object, do I have a way to retrieve all the attributes
>that result from the database mapping?
>
Try this:
for col in Message.c:
...
Paul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"