Matching PDO_SQLite features with SQLite3 extension

From: Date: Mon, 21 Aug 2017 02:15:57 +0000
Subject: Matching PDO_SQLite features with SQLite3 extension
Groups: php.internals 
Request: Send a blank email to internals+get-100268@lists.php.net to get a copy of this message
Hi people of the PHP world, I just have proposed a patch to have SQLite3 open_blob feature implemented in PDO_SQLite: https://github.com/php/php-src/pull/2698 This follows my patch to implement this feature in the SQLite3 extension a few months ago. Now my aim is to implement missing features in pdo_sqlite that are already present in the SQLite3 extension (target is PHP 7.3 I guess). I'm also keen to implement any SQLite3 feature offered by the C library that are not already present in either extensions (if any). This way we will be able to use either PDO or SQLite3 extension, and have access to the same features. Here are the features that are currently present in the SQLite3 extension but missing in PDO: - bool Statement::readOnly() -> returns true if the statement doesn't write to the database - Opening a database as read-only (using SQLite flags OPEN_READWRITE, OPEN_READONLY and OPEN_CREATE) Please tell me if you see anything else that I missed and I'll add it to my todo-list. Thanks.

« previous php.internals (#100268) next »