[MOBY-guts] biomoby commit

Dennis Wang dwang at pub.open-bio.org
Mon Jul 25 18:20:16 UTC 2005


dwang
Mon Jul 25 14:20:16 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby
In directory pub.open-bio.org:/tmp/cvs-serv20709/Perl/MOBY/Adaptor/moby

Modified Files:
	queryapi.pm 
Log Message:
added documentation for getRelationship()

moby-live/Perl/MOBY/Adaptor/moby queryapi.pm,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm	2005/07/25 18:17:44	1.7
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm	2005/07/25 18:20:16	1.8
@@ -595,6 +595,18 @@
 	die "getObjectRelationships not implemented in adaptor\n";
 }
 
+=head2 getRelationship
+
+ Title     :	getRelationship
+ Usage     :	my $un = $API->general_query(@args)
+ Function  :	Execute a query for a relationship between two tables on an underlying SQL-based data source
+ Returns   :	array of array-refs representing resulting rows
+ Args      :    String - direction in the ontology (eg. 'root')
+ 				String - name of the table ontology
+ 				Integer - a bind value for lsid
+ 				String - a bind value for relationship_type
+
+=cut
 # relationship query for any table used in Moby::OntologyServer->_doRelationshipQuery()
 # note: returns a reference to an array containing ARRAY references
 sub getRelationship{




More information about the MOBY-guts mailing list