On Apr 15, 2010, at 11:35 AM, Michael Brickenstein wrote:

> Hi!
> 
> Thanks for your very prompt
> answer.
> Unluckily, my mails were a little bit unprecise:
> 
> So, I wondered why the following happened:
> 
> prop = get_mapper(Participation).get_property('remark')
> 
> c=prop.columns[0] 
> 
> c
> Column(u'remark', PGText(length=None, convert_unicode=False, 
> assert_unicode=None), table=<%(188392684 participation)s>, nullable=False)

this column is against an alias, which suggests you've mapped to an alias() or 
select() of some kind.   To get at full table metadata you need to be talking 
to Column objects that are directly present on a Table.


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to