neo4j-contrib / sql2cypher

Experimental SQL to Cypher Transpiler using jooq and cypher-dsl
Apache License 2.0
26 stars 1 forks source link

refactor: Always name nodes. #32

Closed michael-simons closed 1 year ago

michael-simons commented 1 year ago

For aliased tables the last alias is already used all the time. If a table is not aliased, the name of the table can be used as node identifier, thus removing the need for doing this as an afterthought when aliasing is needed (in some DML for example).

michael-simons commented 1 year ago

What that help address your concerns, @lukaseder ?

michael-simons commented 1 year ago

You are correct.

I rebased this branch on issue/use-cypher-dsl-main and removed the lookup completely.

If you merge, first #34 and than #32 should work.

michael-simons commented 1 year ago

~Or not… damn it.~ Now it does.