Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apoc.dv.queryAndLink how to specify direction? #4157

Closed
florin-singuran opened this issue Jul 26, 2024 · 0 comments · Fixed by #4312
Closed

apoc.dv.queryAndLink how to specify direction? #4157

florin-singuran opened this issue Jul 26, 2024 · 0 comments · Fixed by #4312

Comments

@florin-singuran
Copy link

florin-singuran commented Jul 26, 2024

Hello,
I am using https://neo4j.com/labs/apoc/5/virtual-resource/ and trying to use https://neo4j.com/labs/apoc/5/overview/apoc.dv/apoc.dv.queryAndLink/ to load db nodes and link them to the parent node but I can only create outgoing relations.

MATCH (c:N1 {id: 29})<-[*0..]-(cp:N2)
CALL apoc.dv.queryAndLink(c,"RELATION", "db_declared_function",{ id: cp.id }) YIELD path
RETURN path

I couldn't find any info on this, I tried
apoc.dv.queryAndLink(c,"RELATION", "db_declared_function",{ id: cp.id }, {create:true, direction:"IN/OUT"})
as I've seen for other functions but it doesn't seem to work.
Any help would be greatly appreciated.
On the same note, what values go in the config map?
Thanks!

RobertoSannino pushed a commit that referenced this issue Dec 6, 2024
* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
vga91 added a commit that referenced this issue Dec 10, 2024
* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
vga91 added a commit that referenced this issue Dec 11, 2024
…4295)

* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
@vga91 vga91 closed this as completed Dec 11, 2024
@github-project-automation github-project-automation bot moved this from Review to Done (check if cherry-pick) in APOC Extended Larus Dec 11, 2024
vga91 added a commit that referenced this issue Dec 17, 2024
)

* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
vga91 added a commit that referenced this issue Dec 18, 2024
)

* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
vga91 added a commit that referenced this issue Dec 18, 2024
)

* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
vga91 added a commit that referenced this issue Dec 19, 2024
)

* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
vga91 added a commit that referenced this issue Dec 19, 2024
) (#4312)

* Fixes #4157: apoc.dv.queryAndLink how to specify direction

* test fixes

* refactoring
@vga91 vga91 moved this from Done (check if cherry-pick) to Done in APOC Extended Larus Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3 participants