Re: Matching PDO_SQLite features with SQLite3 extension
| From: | BohwaZ/PHP | Date: | Mon, 21 Aug 2017 21:54:42 +0000 |
| Subject: | Re: Matching PDO_SQLite features with SQLite3 extension | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100273@lists.php.net to get a copy of this message | ||
Le 22/08/2017 07:55, Adam Baratz a écrit :
A new method is an API change to me, so an RFC would be warranted. I'm reluctant to add driver-specific methods, since that seems opposed to PDO's driver-agnostic API, but that's not to say we couldn't hash something out.Do we need a RFC every time we patch for a missing method ? Btw there's already sqliteCreateFunction, sqliteCreateAggregate and so on, so it's pretty much just the continuation of that logic, even though I don't really like it either (especially as lazy-loading by extending PDO makes it so that the methods are not accessible until the connection has been established, which is a weird behaviour imho).