Re: [PDO] Client side cache for prepared queries

From: Date: Tue, 02 Aug 2011 12:47:21 +0000
Subject: Re: [PDO] Client side cache for prepared queries
References: 1 2 3 4  Groups: php.pdo 
Request: Send a blank email to pdo+get-509@lists.php.net to get a copy of this message
Hi Ferenc On Tue, Aug 2, 2011 at 2:35 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote: > if you [...] force pdo to use real prepared statements, > then you can reuse the compiled statements via using persistent > connections. > [...] > > does this answer your question? Yes you're exactly answering my question, so there already has a cache in the driver that reuse the prepared queries on the same connection, great ! So as I already use persistent connection, if I force PDO to use real prepared queries, does I have something more to do to use this cache ? And is there any documentation about it ? Bests, -- Julien Palard

« previous php.pdo (#509) next »