Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO

From: Date: Wed, 27 Sep 2017 09:28:03 +0000
Subject: Re: [RFC] [Discussion] Implement SQLite "openBlob" feature in PDO
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-100782@lists.php.net to get a copy of this message
Hey Marco, On 27/09/2017 11:04, Marco Pivetta wrote: > First time I agree with Lester here, so please take note :-P Anything you say can and will be used against you ;-) > Unless the type of the connection is PDOSQLiteConnection, this specific > patch adds methods that are not interfaced, and need to be checked for > existence every time. This is error-prone and just an annoyance that will > likely need abstraction once it reaches "real world" (layers that isolate > apps from PDO's inherent radioactivity). This is the (possibly wrong) pattern that PDO has been using when providing something that's relevant only for a specific driver. Such methods should be used with caution. What's your suggestion? Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/

« previous php.internals (#100782) next »