1DBIx::Class::Storage::DUBsIe:rD:BSCIyoxbn:at:srCeil:ba:usAtsSe:Ed::S:PtNeoorrBlaignDedo:Vc:auDrmBseI(n:3t:)aStyiboanse::ASE::NoBindVars(3)
2
3
4
6 DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars - Storage::DBI
7 subclass for Sybase ASE without placeholder support
8
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 with this particular driver.
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
36 Check the list of additional DBIC resources.
37
39 This module is free software copyright by the DBIx::Class (DBIC)
40 authors. You can redistribute it and/or modify it under the same terms
41 as the DBIx::Class library.
42
43
44
45perl v5.30.1 DBIx::Cla2s0s2:0:-S0t1o-r2a9ge::DBI::Sybase::ASE::NoBindVars(3)