public inbox for [email protected]
help / color / mirror / Atom feedFrom: Daniele Varrazzo <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: [email protected]
Subject: Re: Executing on the connection?
Date: Wed, 2 Dec 2020 15:42:12 +0000
Message-ID: <CA+mi_8akt_guKx_Reqrvr_U5tvy8_9qHpUV3TvyO8a4KkJnxfQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CA+mi_8Yc92bX3qhTqXq4LkGyn5VmQj6uRAcVebpqt398Tm4EJA@mail.gmail.com>
<[email protected]>
On Wed, 2 Dec 2020 at 15:02, Adrian Klaver <[email protected]> wrote:
> Just to be clear the above(callproc excepted) or some variation of it
> will still be available off the cursor interface, correct?
Yes, that's correct. The cursor remains with the methods it is known
for. This Connection.execute() would only be the moral equivalent of:
class Connection:
def execute(self, query, params=None):
cur = self.cursor()
cur.execute(query, params)
return cur
but nothing would be removed from the cursor interface.
-- Daniele
view thread (13+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Executing on the connection?
In-Reply-To: <CA+mi_8akt_guKx_Reqrvr_U5tvy8_9qHpUV3TvyO8a4KkJnxfQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox