Bio::DB::GFF::Adaptor::dbi
faux_dbh
Toolbar
Package variables
No package variables defined.
Synopsis
No synopsis!
Description
No description!
Methods
AUTOLOAD | No description | Code |
inuse | No description | Code |
new | No description | Code |
prepare | No description | Code |
prepare_delayed | No description | Code |
Methods description
None available.
Methods code
sub AUTOLOAD
{ my($pack,$func_name) = $AUTOLOAD=~/(.+)::([^:]+)$/;
return if $func_name eq 'DESTROY';
my $self = shift;
if( defined $self->{dbh} ) {
$self->{dbh}->$func_name(@_);
}
}
1;
__END__ } |
sub inuse
{ shift->{dbh}->{ActiveKids}; } |
sub new
{ my $class = shift;
my $dbh = shift;
bless {dbh=>$dbh},$class; } |
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_delayed | description | prev | next | Top |
sub prepare_delayed
{ my $self = shift;
my $sth = $self->{dbh}->prepare(@_) or return;
$sth; } |
General documentation
Report to the author.
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.