1DBIx::Class::Storage::DUBsIe:r:NCooBnitnrdiVbaurtse(d3D)PBeIrxl::DColcausmse:n:tSattoiroange::DBI::NoBindVars(3)
2
3
4
6 DBIx::Class::Storage::DBI::NoBindVars - Sometime DBDs have poor to no
7 support for bind variables
8
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
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 returns false, except for integer
31 datatypes paired with values containing nothing but digits.
32
33 WARNING!!!
34
35 Always validate that the bind-value is valid for the current datatype.
36 Otherwise you may very well open the door to SQL injection attacks.
37
38 _prep_interpolated_value
39 Given a datatype and the value to be inserted directly into a SQL
40 query, returns the necessary string to represent that value (by e.g.
41 adding a '$' sign)
42
44 Check the list of additional DBIC resources.
45
47 This module is free software copyright by the DBIx::Class (DBIC)
48 authors. You can redistribute it and/or modify it under the same terms
49 as the DBIx::Class library.
50
51
52
53perl v5.28.0 2018-D0B1I-x2:9:Class::Storage::DBI::NoBindVars(3)