[Zope-DB] ZODBC dictonaries
M.-A. Lemburg
mal@lemburg.com
Sun, 22 Sep 2002 22:20:00 +0200
Oliver Marx wrote:
> M.-A. Lemburg wrote:
>
>> Oliver Marx wrote:
>>
>>> Dear List
>>>
>>> I need to use Zope with an SQL server, but but but
>>> ZODBC which seems to be the standard DA for SQL server doesn't
>>> support dictionaries. Is there a proven solution to this problem?
>>
>>
>>
>> Could you explain what you mean with "dictionaries" in this
>> context ?
>>
>
> Python Script
>
> list = container.select_user_view()
> numb_of_records = len( list.dictionaries() )
>
> With ZODBCDA .dictionaries() is not supported. This is a known bug, but
> is there a solution?
>
> http://www.zope.org/Members/spinwing/ZSQL_Results
FYI, the mxODBC Zope DA will support this.
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
_______________________________________________________________________
eGenix.com -- Makers of the Python mx Extensions: mxDateTime,mxODBC,...
Python Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/