Bio::EnsEMBL::Variation::DBSQL MetaContainer
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
  Bio::EnsEMBL::Variation::DBSQL::MetaContainer - 
Encapsulates all access to variation database meta information
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::DBSQL::BaseMetaContainer
Bio::EnsEMBL::Utils::Exception qw ( deprecate )
Inherit
Bio::EnsEMBL::DBSQL::BaseMetaContainer
Synopsis
  my $meta_container = $db_adaptor->get_MetaContainer();
my $default_population = $meta_container->get_default_LDPopulation();
Description
  An object that encapsulates specific access to variation db meta data
Methods
get_schema_version
No description
Code
Methods description
None available.
Methods code
get_schema_versiondescriptionprevnextTop
sub get_schema_version {
  my $self = shift;

  my $arrRef = $self->list_value_by_key( 'schema_version' );

  if( @$arrRef ) {
    my ($ver) = ($arrRef->[0] =~ /^\s*(\d+)\s*$/);
    if(!defined($ver)){ # old style format
return 0; } return $ver; } else { warn("Please insert meta_key 'schema_version' " . "in meta table at core db.\n"); } return 0; } 1;
}
General documentation
CONTACTTop
  Post questions to the EnsEMBL development list: ensembl-dev@ebi.ac.uk