DBIx::Class::Storage::DBI::NoBindVars.3pm

Langue: en

Version: 2007-06-17 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

DBIx::Class::Storage::DBI::NoBindVars - Sometime DBDs have poor to no support for bind variables

DESCRIPTION

This class allows queries to work when the DBD or underlying library does not support the usual "?" placeholders, or at least doesn't support them very well, as is the case with DBD::Sybase

METHODS


connect_info

We can't cache very effectively without bind variables, so force the "disable_sth_caching" setting to be turned on when the connect info is set.

_prep_for_execute

Manually subs in the values for the usual "?" placeholders.

AUTHORS

Brandon Black <blblack@gmail.com>

Trym Skaar <trym@tryms.no>

LICENSE

You may distribute this code under the same terms as Perl itself.