[MOBY-guts] biomoby commit
Dennis Wang
dwang at pub.open-bio.org
Tue Jul 26 05:19:37 UTC 2005
dwang
Tue Jul 26 01:19:37 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby
In directory pub.open-bio.org:/tmp/cvs-serv23000/Perl/MOBY/Adaptor/moby
Modified Files:
queryapi.pm
Log Message:
added some more comments.
some subroutines are still under modification, so holding out for now... don't quite understand what $type is.
moby-live/Perl/MOBY/Adaptor/moby queryapi.pm,1.13,1.14
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm 2005/07/25 23:45:29 1.13
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi.pm 2005/07/26 05:19:37 1.14
@@ -539,21 +539,36 @@
die "delete_namespace not implemented in adaptor\n";
}
-#
+=head2 query_namespace_term2term
+
+ Title : query_namespace_term2term
+ Usage : my $un = $API->query_namespace_term2term(%args)
+ Function : Execute a query for namespaces_term2term
+ Args : type => String - namespace_type you are checking for
+ Returns : listref of hashrefs:
+ [{assertion_id => Integer,
+ relationship_type => String,
+ namespace1_id => Integer,
+ namespace2_id => Integer}]
+
+=cut
# namespace_term2term table functions
-#
sub query_namespace_term2term{
die "query_namespace_term2term not implemented in adaptor\n";
}
+# does not exist in mysql api, should this be removed?
sub insert_namespace_term2term{
die "insert_namespace_term2term not implemented in adaptor\n";
}
-sub delete_namespace_term2term{
+# changed to a private subroutine in mysql
+# I guess this subroutine should be removed from here?
+sub _delete_namespace_term2term{
die "delete_namespace_term2term not implemented in adaptor\n";
}
+# still incomplete...
# custom query subroutine for Moby::Central.pm->deregisterObjectClass()
sub check_object_usage{
die "check_object_usage not implemented in adaptor\n";
More information about the MOBY-guts
mailing list