Re: New features?

Mark Harrison <[email protected]> Thu, 28 Jan 2016 09:08:21 -0800
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <[email protected]>
On 1/27/16 9:21 AM, Amaury Forgeot d'Arc wrote:
> Hi Chris,
>
> 2016-01-27 18:02 GMT+01:00 Chris Gould <[email protected]
> <mailto:[email protected]>>:
>
>     Hi Anthony -
>     I'm not an expert Python programmer, but I do find Python and the
>     cx_Oracle driver extremely useful in my job as a PL/SQL programmer.
>
>     One thing which would be extremely useful is if the columns returned
>     by a query could be referenced by their column names rather than
>     their offset number.  Is that something that could be done easily?
>
>     I also use PHP a bit and I know there it's possible to choose either
>     to reference the returned columns by name or offset, and it makes
>     the code much easier to follow when you're using column names.
>
>
> Someone asked this several years ago already, here is a solution with a
> custom cursor.rowfactory:
> http://sourceforge.net/p/cx-oracle/mailman/message/27145597/

I added this to stackoverflow to hopefully make it a bit more searchable...

http://stackoverflow.com/questions/35045879/cx-oracle-how-can-i-receive-each-row-as-a-dictionary


>
>
> --
> Amaury Forgeot d'Arc
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>
>
>
> _______________________________________________
> cx-oracle-users mailing list
> cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
>


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140