"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.
In reply to Re: Re: DBI prepare_cached VS self cached
by ronzomckelvey
in thread DBI prepare_cached VS self cached
by ronzomckelvey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |