Specify labels using CypherDSL

56 views
Skip to first unread message

Davide D'Alto

unread,
Dec 18, 2013, 6:07:52 AM12/18/13
to ne...@googlegroups.com
Hi,
is there a way to specify labels for a node using CypherDsl (https://github.com/neo4j/cypher-dsl)?

I cannot find one.

Thanks,
Davide

Michael Hunger

unread,
Dec 18, 2013, 6:09:49 AM12/18/13
to ne...@googlegroups.com
No, not yet. 

I took a look at it some days ago, but couldn't find the time.

So if anyone wants to step up and make cypher-dsl 2.0 ready, there is eternal fame and at least a personalized t-shirt waiting for you.

Michael

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Davide D'Alto

unread,
Dec 18, 2013, 6:19:38 AM12/18/13
to ne...@googlegroups.com
From tomorrow I have some time available, I will take a look at this.

Do you already know how to solve the issue?

Michael Hunger

unread,
Dec 18, 2013, 6:22:47 AM12/18/13
to ne...@googlegroups.com
One idea is to introduce a LabelExpression which takes 1..n label.

And then compose node-expressions out of an identifier + label expression.

There is already a construct for identifier +  property-expression, I would probably add it there somewhere. i.e. (n {name: "value"})
-> add one for (n:Label) and one for (n:Label {name:"value"})

HTH

Otherwise I can have another look.

This would be super-appreciated Davide !!

Michael

Davide D'Alto

unread,
Dec 18, 2013, 6:27:46 AM12/18/13
to ne...@googlegroups.com

Ok, I'll take a deeper look at it and let you know

You received this message because you are subscribed to a topic in the Google Groups "Neo4j" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/neo4j/V07Swi3QtFc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to neo4j+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages