Oh, no. I'm not doing any raw sql.
I have (at a most basic level):
things_table = Table("things", metadata,
Column("id", types.Integer, primary_key=True),
Column("values", StringSet, nullable=True),
)
class Thing (object):
pass
Session.mapper(Thing, things_table)
But when I do Thing.query.all()[0].values, process_result_value is
never called.
~jon
On Jan 23, 2:11 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Jan 23, 2008, at 3:01 PM, Jonathon Anderson wrote:
>
>
>
> > What do you mean by textual strings? Do you mean strings backed by a
> > TEXT type, rather than a fixed-length string?
>
> > Why won't that work?
>
> no, i mean:
>
> result = engine.execute("select * from table")
>
> will not work with any TypeEngine or TypeDecorators in place.
>
> as opposed to :
>
> result = engine.execute(table.select())
>
> which *will* work with all the types in place.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---