Brandon L Black > DBIx-Class-0.07006 > DBIx::Class::Storage::DBI::NoBindVars

Download:
DBIx-Class-0.07006.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  4
Stalled  4
View Bugs
Report a bug
Source   Latest Release: DBIx-Class-0.08114

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 ^

sth

Uses prepare instead of the usual prepare_cached, seeing as we can't cache very effectively without bind variables.

_execute

Manually subs in the values for the usual ? placeholders before calling "sth" on the generated SQL.

AUTHORS ^

Brandon Black <blblack@gmail.com>

Trym Skaar <trym@tryms.no>

LICENSE ^

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