Użytkownik Jacek Kałucki napisał:
> But I still think, that data type conversion in Dabo is messy.
> I still get different data type for the same field, depend on place
> where cursor is created, but I'm afraid I have deal with that.
>    

Even my patch doesn't resolve all issues, here is the next one.
I have blob field.
All backends I know by default return blob as 'buffer' type.
I don't know the reason, but Dabo covert this type to 'str'. Why?
Now we have first requery where _newQuery = True
and we get blob field value type converted to 'str' type.
Ok, now second requery has take place with _newQuery = False,
with no conversion.
But wait a minute...
All string types are by default converted to unicode 
(_convertStrToUnicode attribute),
so we receive 'unicode' against 'str' type.

-- 
Regards
Jacek Kałucki

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to