Re: [cx-oracle-users] cx_Oracle equivalent of MySQL's DictCursor?
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2005-09-24 13:27:00
|
Not directly but that doesn't mean you can't do it yourself. Subclass from the Cursor class and have at it.... There are a number of ways of doing this depending on whether simplicity of code or performance is more important to you. On 9/23/05, Mark Harrison <mh...@pi...> wrote: > I've just received this query. Does anyone know of such a thing? > > The MySQL-python-1.2.0 doc describes it as: > > DictCursor > Like ``Cursor`` except it returns rows as dictionaries. > > > We use MySQL's DictCursor as a cursor for queries. It looks like this > > cursor will present results as a dict. Do you know if the Oracle obj > > supports this type of cursor? > > Many TIA! > Mark > > -- > Mark Harrison > Pixar Animation Studio > Emeryville, CA > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Downl= oad > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |