Query: dbix::class::storage::dbi::sybase::ase::nobindvars
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars(3pm) User Contributed Perl DocumentationDBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars(3pm)NAMEDBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars - Storage::DBI subclass for Sybase ASE without placeholder supportDESCRIPTIONIf you're using this driver then your version of Sybase or the libraries you use to connect to it do not support placeholders. You can also enable this driver explicitly using: my $schema = SchemaClass->clone; $schema->storage_type('::DBI::Sybase::ASE::NoBindVars'); $schema->connect($dsn, $user, $pass, \%opts); See the discussion in "Using ? Placeholders & bind parameters to $sth->execute" in DBD::Sybase for details on the pros and cons of using placeholders. One advantage of not using placeholders is that "select @@identity" will work for obtaining the last insert id of an "IDENTITY" column, instead of having to do "select max(col)" in a transaction as the base Sybase driver does. When using this driver, bind variables will be interpolated (properly quoted of course) into the SQL query itself, without using placeholders. The caching of prepared statements is also explicitly disabled, as the interpolation renders it useless.AUTHORSSee "CONTRIBUTORS" in DBIx::Class.LICENSEYou may distribute this code under the same terms as Perl itself. perl v5.14.2 2010-06-03 DBIx::Class::Storage::DBI::Sybase::ASE::NoBindVars(3pm)
Similar Topics in the Unix Linux Community |
---|
Connect to a Remote Sybase Server Through Script |
F3 to F10 not working with TERM=ansi ? |
PING pros and cons |
Sun Cluster question |
Help with Shell Script to View Logs |