[InterMine Dev] question on the model

JD Wong jdmswong at gmail.com
Mon Feb 20 15:48:43 GMT 2012


My apologies, I already found the answer though.  Thanks anyway!

-JD

On Mon, Feb 20, 2012 at 10:29 AM, Julie Sullivan <julie at flymine.org> wrote:

> Hi JD
>
> I don't think I understand your question but that won't prevent me from
> giving an answer.
>
> The main reasons for a reference to not have a reverse reference is that
> the reverse reference doesn't make sense or just to save database space.
>  Meaning the reverse reference is probably not a relationship that will be
> queried (often) or can be queried at all.  For example
>
>        SequenceFeature.sequence
>        Sequence has no reference to Sequence Feature
>
> Sequence isn't related to sequence feature, which goes against your stated
> assumption.
>
> Does that help at all?
> Julie
>
>
> On 15/02/12 18:20, JD Wong wrote:
>
>> In my code I'm taking the shortcut that if a collection doesn't list a
>> reverse-reference, its parent-type must be itself or a parent of itself.
>>  Is this a safe assumption to make?
>>
>> -JD
>>
>>
>>
>>
>> ______________________________**_________________
>> dev mailing list
>> dev at intermine.org
>> http://mail.intermine.org/cgi-**bin/mailman/listinfo/dev<http://mail.intermine.org/cgi-bin/mailman/listinfo/dev>
>>
>
> ______________________________**_________________
> dev mailing list
> dev at intermine.org
> http://mail.intermine.org/cgi-**bin/mailman/listinfo/dev<http://mail.intermine.org/cgi-bin/mailman/listinfo/dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.intermine.org/pipermail/dev/attachments/20120220/c310df84/attachment.html>


More information about the dev mailing list