Bio::DB::GFF::Adaptor::dbi faux_dbh
Other packages in the module: Bio::DB::GFF::Adaptor::dbi::caching_handle
Package variablesGeneral documentationMethods
Package variables
No package variables defined.
Synopsis
No synopsis!
Description
No description!
Methods
new
No description
Code
prepare
No description
Code
prepare_delayed
No description
Code
inuse
No description
Code
DESTROY
No description
Code
AUTOLOAD
No description
Code
Methods description
None available.
Methods code
newdescriptionprevnextTop
sub new {
  my $class = shift;
  my $dbh   = shift;
  bless {dbh=>$dbh},$class;
}
preparedescriptionprevnextTop
sub prepare {
  my $self = shift;
  my $sth = $self->{dbh}->prepare(@_) or return;
  $sth->{mysql_use_result} = 1 if $self->{dbh}->{Driver}{Name} eq 'mysql';
  $sth;
}
prepare_delayeddescriptionprevnextTop
sub prepare_delayed {
  my $self = shift;
  my $sth = $self->{dbh}->prepare(@_) or return;
  $sth;
}
inusedescriptionprevnextTop
sub inuse {
    shift->{dbh}->{ActiveKids};
}
DESTROYdescriptionprevnextTop
sub DESTROY {
}
AUTOLOADdescriptionprevnextTop
sub AUTOLOAD {
  my($pack,$func_name) = $AUTOLOAD=~/(.+)::([^:]+)$/;
  return if $func_name eq 'DESTROY';
  my $self = shift;
  if( defined $self->{dbh} ) {
      $self->{dbh}->$func_name(@_);
  }
}
General documentation
BUGSTop
Report to the author.
SEE ALSOTop
DBI, Bio::DB::GFF, bioperl
AUTHORTop
Lincoln Stein <lstein@cshl.org>.
Copyright (c) 2001 Cold Spring Harbor Laboratory.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.