[MOBY-guts] biomoby commit
Mark Wilkinson
mwilkinson at pub.open-bio.org
Wed Jul 20 17:00:26 UTC 2005
mwilkinson
Wed Jul 20 13:00:26 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory pub.open-bio.org:/tmp/cvs-serv25053/MOBY
Modified Files:
service_instance.pm
Log Message:
No, they don't have to be hashified at that pont, but the query itself is a two-step process, and the generic query builder can't do joins over multiple tables so we now do two consecutive queries
moby-live/Perl/MOBY service_instance.pm,1.15,1.16
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/service_instance.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- /home/repository/moby/moby-live/Perl/MOBY/service_instance.pm 2005/07/20 15:58:22 1.15
+++ /home/repository/moby/moby-live/Perl/MOBY/service_instance.pm 2005/07/20 17:00:26 1.16
@@ -226,9 +226,8 @@
: $self->service_type_uri($servicetypeURI);
}
my $existing_service = $self->adaptor->query_service_instance(
- {servicename => $self->servicename},
- "and",
- {authURI => $self->authority_uri});
+ servicename => $self->servicename,
+ authority_uri => $self->authority_uri);
if (
($existing_service
) # if it exists, you are not allowed to have passed anything other than service name and authorityURI
More information about the MOBY-guts
mailing list