1DBIx::Class::Storage::DUBsIe:r:NCooBnitnrdiVbaurtse(d3D)PBeIrxl::DColcausmse:n:tSattoiroange::DBI::NoBindVars(3)
2
3
4

NAME

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

DESCRIPTION

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

METHODS

15   connect_info
16       We can't cache very effectively without bind variables, so force the
17       "disable_sth_caching" setting to be turned on when the connect info is
18       set.
19
20   _prep_for_execute
21       Manually subs in the values for the usual "?" placeholders.
22
23   interpolate_unquoted
24       This method is called by "_prep_for_execute" for every column in order
25       to determine if its value should be quoted or not. The arguments are
26       the current column data type and the actual bind value. The return
27       value is interpreted as: true - do not quote, false - do quote. You
28       should override this in you Storage::DBI::<database> subclass, if your
29       RDBMS does not like quotes around certain datatypes (e.g. Sybase and
30       integer columns). The default method always returns false (do quote).
31
32        WARNING!!!
33
34        Always validate that the bind-value is valid for the current datatype.
35        Otherwise you may very well open the door to SQL injection attacks.
36
37   _prep_interpolated_value
38       Given a datatype and the value to be inserted directly into a SQL
39       query, returns the necessary string to represent that value (by e.g.
40       adding a '$' sign)
41

AUTHORS

43       See "CONTRIBUTORS" in DBIx::Class
44

LICENSE

46       You may distribute this code under the same terms as Perl itself.
47
48
49
50perl v5.12.0                      2010-D0B5I-x1:2:Class::Storage::DBI::NoBindVars(3)
Impressum