The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bio::DB::SQL::BaseAdaptor - Base Adaptor for DB::SQL::adaptors

SYNOPSIS

    # base adaptor provides
    
    # SQL prepare function
    $adaptor->prepare("sql statement");

    # get of root db object
    $adaptor->db();

    # delete memory cycles
    $adaptor->deleteObj();

DESCRIPTION

This is a true base class for Adaptors in the Bio::DB::SQL system. Original idea from Arne Stabenau (stabenau@ebi.ac.uk)

CONTACT

Describe contact details here

APPENDIX

The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _

prepare

 Title   : prepare
 Usage   : $sth = $adaptor->prepare("select yadda from blabla")
 Function: provides a DBI statement handle from the adaptor. A convience
           function so you do not have to write $adaptor->db->prepare all the
           time
 Example :
 Returns : 
 Args    :

db

 Title   : db
 Usage   : $obj->db($newval)
 Function: 
 Returns : value of db
 Args    : newvalue (optional)

get_last_id

 Title   : get_last_id
 Usage   :
 Function:
 Example :
 Returns : 
 Args    :

resolve_constraint

 Title   : resolve_constraint
 Usage   :
 Function:
 Example :
 Returns : 
 Args    : 

recursively resolves constraints; turns BioQuery constraints into SqlQuery constraints