cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to project all properties easily?

gigauser
Graph Buddy

Hi guys.
I googled with these terms but cannot find anything.
Is there any way to do it like this?:
call gds.graph.create( 'aprojection' , ['Anode', 'Bnode'], ['AREL', 'BREL'], {nodeProperties: "", relationshopProperties: ""})
If I run it like that I got an error and cannot do it.
< Note > The asterisk inside quotations are not be displayed as I typed.

1 ACCEPTED SOLUTION

I don't think that's currently possible, but it's on our roadmap to revisit the * projection syntax to make life easier. I'll post when that feature becomes available!

View solution in original post

4 REPLIES 4

Not sure if it's what you are looking for as you are using apoc but you can project all the properties of a node using properties(node).

Thank you for the reply to my question.
I know I can project node properties inside node mapping. My question is to check any possibility to do it more compact way using * asterisk. If there is no compact way like that, it's okay.

I don't think that's currently possible, but it's on our roadmap to revisit the * projection syntax to make life easier. I'll post when that feature becomes available!

Thank you for the answer!