MOBY::Adaptor::moby::DataAccessI - This file may need to be renamed and may not make sense as an interface.
use MOBY::Adaptor::moby::queryapi::mysql # implements this interface def
my $m = MOBY::Adaptor::moby::queryapi::mysql->new(
username => 'user',
password => 'pass',
dbname => 'mobycentral',
port => '3306',
sourcetype => 'DBD::mysql');
The BioMOBY registry data access interface
Mark Wilkinson markw_at_ illuminae dot com Dennis Wang oikisai _at_ hotmail dot com BioMOBY Project: http://www.biomoby.org
Usage : my $MOBY = MOBY::Client::Central->new(Registries => \%regrefs)
Function : connect to one or more MOBY-Central
registries for searching
Returns : MOBY::Client::Central object
Args : Registries - optional.
Notes : Each registry must have a different
Usage : my $un = $API->username($arg) Function : get/set username (if required) Returns : String (username) Args : String (username) - optional.
Usage : my $un = $API->password($arg) Function : get/set password (if required) Returns : String (password) Args : String (password) - optional.
Usage : my $un = $API->dbname($arg) Function : get/set dbname (if required) Returns : String (dbname) Args : String (dbname) - optional.
Usage : my $un = $API->port($arg) Function : get/set port (if required) Returns : String (port) Args : String (port) - optional.
Usage : my $un = $API->proxy($arg) Function : get/set proxy (if required) Returns : String (proxy) Args : String (proxy) - optional.
Usage : my $un = $API->sourcetype($arg) Function : get/set string name of sourcetype (e.g. mySQL) Returns : String (sourcetype) Args : String (sourcetype) - optional.
Usage : my $un = $API->driver($arg) Function : get/set string name of driver module (e.g. DBD::mySQL) Returns : String (driver) Args : String (driver) - optional.
Usage : my $un = $API->url($arg) Function : get/set url (if required) Returns : String (url) Args : String (url) - optional.
Usage : my $un = $API->dbh($arg) Function : get/set database handle (if required) Returns : Database handle in whatever object is appropriate for sourcetype Args : Database handle in whatever object is appropriate for sourcetype