diff --git a/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm index 3876d5ba09f08c55363521cfcec9204dbab04773..30ad3ed31f086b4cb0ea946c63fb516fa305ebf0 100755 --- a/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm @@ -161,12 +161,12 @@ sub prepare{ =head2 db - Arg [1] : (optional) Bio::EnsEMBL::DBSQL::DBConnection $obj + Arg [1] : (optional) Bio::EnsEMBL::DBSQL::DBAdaptor $obj the database this adaptor is using. Example : $db = $adaptor->db(); Description: Getter/Setter for the DatabaseConnection that this adaptor is using. - Returntype : Bio::EnsEMBL::DBSQL::DBConnection + Returntype : Bio::EnsEMBL::DBSQL::DBAdaptor Exceptions : none Caller : Adaptors inherited fro BaseAdaptor @@ -180,6 +180,19 @@ sub db{ } +=head2 dbc + + Arg [1] : (optional) Bio::EnsEMBL::DBSQL::DBConnection $obj + the database this adaptor is using. + Example : $db = $adaptor->db(); + Description: Getter/Setter for the DatabaseConnection that this adaptor is + using. + Returntype : Bio::EnsEMBL::DBSQL::DBConnection + Exceptions : none + Caller : Adaptors inherited fro BaseAdaptor + +=cut + sub dbc{ my $self = shift; $self->{'dbc'} = shift if(@_);