Użytkownik Ed Leafe napisał: > > Are you saying that you ran two queries against the same columns, and > got different data types back from the same column on each query? I've never > seen this happen. If the first time a column is queried it returns a certain > data type, I would expect it to always return the same data type. >
As a test it's enough to execute: sql = "select * from any_table" cursor.execute(sql, _newQuery=True) cursor.execute(sql, _newQuery=False) Each query return the same dataset but different type, e.g. Decimal in first and float in second. This parameter does nothing except translating data types from Python to Dabo types. I can't see optimization of any kind here. Besides, I can't understand why you decide to put type translation code in cursor class, not in bizobj class. Now, regular cursor hold completely differ data types than auxiliary cursor for the same dataset :( -- 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]
