Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO
| From: | Christoph M. Becker | Date: | Wed, 27 Sep 2017 09:41:50 +0000 |
| Subject: | Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100784@lists.php.net to get a copy of this message | ||
On 26.09.2017 at 04:03, BohwaZ/PHP wrote:
> following my patch and discussions on this list, here is the RFC
> requested by some people here to implement "openBlob" in the pdo_sqlite
> driver, to match the "openBlob" method from the SQLite3 extension.
>
> https://wiki.php.net/rfc/implement_sqlite_openblob_in_pdo
>
> Discussion should happen in the next two weeks before going to vote.
>
> The actual patch is here:
> https://github.com/php/php-src/pull/2698
>
> Suggestions and discussions welcome.
PDO already has support for large objects (LOBs)[1]. I don't know if
and how these are supported by the pdo_sqlite driver, but wouldn't it
make sense to use the existing API instead of introducing a new method?
[1] <http://www.php.net/manual/en/pdo.lobs.php>
--
Christoph M. Becker