On Mar 28, 2007, at 5:38 AM, Andreas Jung wrote:

>
>
> --On 28. März 2007 13:34:47 +0400 Denis Shaposhnikov <[EMAIL PROTECTED]>  
> wrote:
>
>>
>> Hi!
>>
>> I have postgresql database created with utf-8 encoding. But SA  
>> give me
>> back 'strings' instead of u'strings' for String columns. Is it  
>> right or
>> I have to always use ``convert_unicode=True`` for `BoundMetaData()`?
>>
>
> That's the documented behavior. But convert_unicode is parameter of
> create_engine(), not of BoundMetaData().
>
> -aj

BoundMetaData does take a **kwargs  argument if you instantiate the  
engine with it at once, i.e. BoundMetaData('sqlite://',  
convert_unicode=True).

also BoundMetaData is being phased out in favor of MetaData(url=None,  
engine=None, ...)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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