1DBIx::Class::Storage::DUBsIe:rD:BSCIyoxbn:at:srCeil:ba:usAtsSe:Ed::S:PtNeoorrBlaignDedo:Vc:auDrmBseI(n:3t:)aStyiboanse::ASE::NoBindVars(3)
2
3
4

NAME

6       DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars - Storage::DBI
7       subclass for Sybase ASE without placeholder support
8

DESCRIPTION

10       If you're using this driver then your version of Sybase or the
11       libraries you use to connect to it do not support placeholders.
12
13       You can also enable this driver explicitly using:
14
15         my $schema = SchemaClass->clone;
16         $schema->storage_type('::DBI::Sybase::ASE::NoBindVars');
17         $schema->connect($dsn, $user, $pass, \%opts);
18
19       See the discussion in "Using ? Placeholders & bind parameters to
20       $sth->execute" in DBD::Sybase for details on the pros and cons of using
21       placeholders.
22
23       One advantage of not using placeholders is that "select @@identity"
24       will work for obtaining the last insert id of an "IDENTITY" column,
25       instead of having to do "select max(col)" in a transaction as the base
26       Sybase driver does.
27
28       When using this driver, bind variables will be interpolated (properly
29       quoted of course) into the SQL query itself, without using
30       placeholders.
31
32       The caching of prepared statements is also explicitly disabled, as the
33       interpolation renders it useless.
34

AUTHORS

36       See "CONTRIBUTORS" in DBIx::Class.
37

LICENSE

39       You may distribute this code under the same terms as Perl itself.
40
41
42
43perl v5.12.0             DBIx::Cla2s0s1:0:-S0t5o-r1a2ge::DBI::Sybase::ASE::NoBindVars(3)
Impressum