You can also do some fun things like:
def myNodeName = firstName
assert person.${myNodeName} == firstName
:-)
On Fri, Dec 12, 2008 at 11:41 AM, Mattias Persson
matt...@neotechnology.com wrote:
Awesome,
that takes care of that then, thanks!
2008/12/12 Guillaume Laforge glafo...@gmail.com:
Nice,
That would actually be my next question :)
Cool things indeed.
2008/12/12 Guillaume Laforge glafo...@gmail.com:
You can also do some fun things like:
def myNodeName = firstName
assert person.${myNodeName} == firstName
:-)
On Fri, Dec 12, 2008 at 11:41 AM, Mattias Persson
In other niceties, using the with{} closure:
person.with {
firstName = 'Guillaume'
lastName = 'Laforge'
}
That can be handy too, for avoiding some repetition.
On Fri, Dec 12, 2008 at 11:57 AM, Mattias Persson
matt...@neotechnology.com wrote:
Nice,
That would actually be my next
In Groovy, you can quote method names and properties.
So when you have weirdo characters, you can do that instead:
myNode.super - funky + node / name = something.
On Fri, Dec 12, 2008 at 11:36 AM, Mattias Persson
matt...@neotechnology.com wrote:
Hmm, this thread is probably dead?
But, I
Hmm, this thread is probably dead?
But, I just thought about the:
myNode.name = Mattias
myNode.someProperty = Something else
Keep in mind that property keys have no restrictions as to length or
content which means a property key can contain spaces and '='
characters and what not. f.ex.
Hi,
The mapping to nodes and relationships is easy, if you have a node
type:
- User -- Node {type = User}
- UserGroup -- Node {type = UserGroup}
- members -- Relationship {type = members}
- admins -- Relationship {type = admins}
I'm not sure I follow you here. Does relationships
Hi Jürgen,
I will try to answer some of your questions.
On Thu, Dec 11, 2008 at 10:17 PM, Jürgen Umbrich
juergen.umbr...@deri.org wrote:
first off all, I am very fascinated about neo and the neo4j library.
I work as part of my PhD in the domain of web crawling and thus, I
thought about using
Hi
First let me just point out that Neo is transactional meaning that the
system can crash at any point in time and the system will be brought
back to the correct consistent state (snapshot from last commit before
crash). That will slow things down a bit.
very nice feature :-).
I tried to
8 matches
Mail list logo