in reply to Re: DBI prepare_cached VS self cached
in thread DBI prepare_cached VS self cached
"prepare_cached"
$sth = $dbh->prepare_cached($statement)
$sth = $dbh->prepare_cached($statement, \%attr)
$sth = $dbh->prepare_cached($statement, \%attr, $allow_active)
Like "prepare" except that the statement handle returned will be
stored in a hash associated with the $dbh. If another call is made
to "prepare_cached" with the same $statement and %attr values, then
the corresponding cached $sth will be returned without contacting
the database server.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: DBI prepare_cached VS self cached
by perrin (Chancellor) on Sep 27, 2003 at 20:12 UTC | |
by inspire22 (Initiate) on Oct 25, 2003 at 05:07 UTC | |
by perrin (Chancellor) on Oct 25, 2003 at 06:32 UTC |