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

GTop abstractionLevelName is ignored #22

Open
Nemikolh opened this issue Jun 22, 2017 · 0 comments
Open

GTop abstractionLevelName is ignored #22

Nemikolh opened this issue Jun 22, 2017 · 0 comments

Comments

@Nemikolh
Copy link
Member

Currently, cypher2sql ignore the abstractionLevelName for properties and use the property name provided in the Cypher.

In order to fix that, we can either:

  • Add a subquery when fetching values from a table to rename the fields to the cypher ones.
  • Do the renaming whenever a property is being accessed on a variable.

The later might be a bit tricky because it can cause subtle valid cypher to fail. (an example might be wrapping a variable in an object and renaming the property). The first one should be relatively straightforward.

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

No branches or pull requests

1 participant