Hello,

I'm trying to select string as unicode using postgresql. Here is what
I do:

### begin code
>>> db = create_engine("postgres://...", convert_unicode=True)
>>> con = db.connect()
>>> result = con.execute("select 'a'")
>>> for a in result:
...     for attr in a:
...             print type(attr)
...
<type 'str'>
### end code

Why is the result of type str?

Thanks,
--Michi


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to