🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.python
Article #26739

Re: python vs php - potrzebne argumenty

#26739
From: Bart Ogryczak
Date: Tue, 08 Sep 2009 13:52
15 lines
2136 bytes
On Sep 8, 11:50 am, "William Bonawentura" <n...@ipartners.pl> wrote:
> Użytkownik "Bart Ogryczak" <b.ogryc...@gmail.com> napisał w wiadomościnews:d1a2f9a8-49ea-450c-8d20-191efc2a4597@m38g2000yqd.googlegroups.com...
> -- PHP -- wsparcie dla connection pool Oracle; Python -- jednolite DB
> API 2.0
>
> cx_Oracle doskonale wspiera pule Oracle.

Rzeczywiście, niedawno dodali. Ja używałem cx w wersji 4 i tego
jeszcze nie miało.

Jeśli chodzi o cx_Oracle i samo DB API 2.0, to jak dla mnie największą
wadą tegoż, jest to, że funkcje które nie muszą nic zwracać, nie mają
obowiazku zwracać kursora. DB API do np. SQLite można używać jak
fluent interface, ale już cx_Oracle -- nie.
A ja bym chciał zawsze móc pisać np. cusor.execute(sql).fetchone()
Technical Details
Message-ID: <b7ac6e50-5b67-40e5-a66d-9ad442d52223@c37g2000yqi.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!c37g2000yqi.googlegroups.com!not-for-mail
References: <h83in7$rl3$1@inews.gazeta.pl> <d1a2f9a8-49ea-450c-8d20-191efc2a4597@m38g2000yqd.googlegroups.com> <h859cv$1ojs$1@news2.ipartners.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!c37g2000yqi.googlegroups.com!not-for-mail
From: Bart Ogryczak <b.ogryczak@gmail.com>
Newsgroups: pl.comp.lang.python
Subject: Re: python vs php - potrzebne argumenty
Date: Tue, 8 Sep 2009 06:52:00 -0700 (PDT)
Organization: http://groups.google.com
Lines: 20
Message-ID: <b7ac6e50-5b67-40e5-a66d-9ad442d52223@c37g2000yqi.googlegroups.com>
References: <h83in7$rl3$1@inews.gazeta.pl> <d1a2f9a8-49ea-450c-8d20-191efc2a4597@m38g2000yqd.googlegroups.com>  <h859cv$1ojs$1@news2.ipartners.pl>
NNTP-Posting-Host: 94.100.112.225
Mime-Version: 1.0
X-Trace: posting.google.com 1252417920 1504 127.0.0.1 (8 Sep 2009 13:52:00 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 8 Sep 2009 13:52:00 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: c37g2000yqi.googlegroups.com; posting-host=94.100.112.225;  posting-account=1kG_1AoAAADLEA3eucGvO2J-Uo4aPCW_
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.2)  Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) FirePHP/0.3,gzip(gfe),gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit