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

Expression is split it two, when it's one #94

Open
neopaf opened this issue Nov 19, 2024 · 1 comment
Open

Expression is split it two, when it's one #94

neopaf opened this issue Nov 19, 2024 · 1 comment

Comments

@neopaf
Copy link

neopaf commented Nov 19, 2024

Parse thinks one expression is two :(

Looks like this, note two triangles on gutter:
Снимок экрана 2024-11-19 в 12 18 17

As text:

call apoc.load.json('file:///RTC/ProductSpecification.json') yield value
UNWIND value.value as r
//with r limit 10
merge (ps:ProductSpecification {id: r.id, name: r.name, description: r.description})
with *
unwind r.specCharUse as specCharUse
with *, specCharUse.characteristic as c
merge (pc:ProductCharacteristic {id: c.id, displayValue: c.displayValue})
merge (pc)-[:SPEC_CHAR_USE]->(ps)
with *
unwind specCharUse.specCharValueUse as specCharValueUse
with *, specCharValueUse.characteristicValue as v
merge (cv:CharacteristicValue {id: v.id, displayValue: coalesce(v.displayValue, 'null')})
merge (cv)-[:SPEC_CHAR_VALUE_USE]->(ps)
merge (cv)-[:OF_CHARACTERISTIC]->(pc);

Using plugin 0.8.0 + Build #IU-242.23339.11, built on September 25, 2024.

@neopaf
Copy link
Author

neopaf commented Nov 19, 2024

workaround: select required block and execute Run query action (plugin registeres one, can add keyboard short too)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant