2009/11/20 Laurent Laborde <[email protected]>:
> Aditionnaly, i think that i found the easiest way to know if i run a
> new database for the first time :
> if(referenceNode.hasRelationship() == false) {
>     //we are running this database for the first time
>     //initialize stuff.
> }

Sounds like an excellent idea.

Just a thought: when I write code with neo4j I never think of an
"initialization phase", but rather that my nodes and relationships are
always created on demand as needed if they don't exist. Maybe that's a
matter of taste though.

>
> On Fri, Nov 20, 2009 at 1:13 PM, Mattias Persson
> <[email protected]> wrote:
>> Great, I'd be glad to answer more questions as they come along... and
>> enjoy your lunch!
>>
>> Best,
>> Mattias
>>
>> 2009/11/20 Laurent Laborde <[email protected]>:
>>> Thank you for your very fast replies.
>>> I will have more question, soon.
>>> But it's time to eat and i'll have some code to do before jumping to
>>> the next problem.
>>>
>>> --
>>> Ker2x
>>> sysadmin & DBA @ http://www.over-blog.com/
>>> _______________________________________________
>>> Neo mailing list
>>> [email protected]
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>>
>>
>>
>> --
>> Mattias Persson, [[email protected]]
>> Neo Technology, www.neotechnology.com
>> _______________________________________________
>> Neo mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
>
>
> --
> F4FQM
> Kerunix Flan
> Laurent Laborde
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [[email protected]]
Neo Technology, www.neotechnology.com
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to