Michael Bayer ha scritto:
its most likely uncompiled mappers. the c attribute on the class
is deprecated; use Table.attribute instead.
...
Thanks, but it seems the Table.c.attribute has a .op() method that I
can't find on Table.attribute
With SA 0.4beta4 if I try to access a mapped object field
(Table.c.fieldname) before any query has been sent to the database the
call fails with a AttributeError(key). Everything works if I do this
after having issued a query.
-- Example: (skip to the __main__ section)
import sqlalchemy as sqa