Thanks for the info, Johan.  Although the relationships are lazily loaded,
does the "hasRelationship()" method typically require a disk read?

-----Original Message-----
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Johan Svensson
Sent: Sunday, January 17, 2010 9:35 AM
To: Neo user discussions
Subject: Re: [Neo] Quick question on finding orphaned nodes

Hi Rick,

On Sun, Jan 17, 2010 at 2:01 AM, Rick Bullotta
<rick.bullo...@burningskysoftware.com> wrote:
> Here's a broader question:
>
> Does Neo maintain an in-memory list of relationships for a given node?  If
> so, could the # of relationships be exposed somehow as a property of the
> node?

There is an in-memory list of relationships for each node but it does
not always contain the number of relationships that actually exist
(relationships are loaded lazily when needed).

Regards,
-Johan
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to