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

more advanced mapping for doc2graph #1267

Closed
jexp opened this issue Aug 2, 2019 · 4 comments
Closed

more advanced mapping for doc2graph #1267

jexp opened this issue Aug 2, 2019 · 4 comments

Comments

@jexp
Copy link
Member

jexp commented Aug 2, 2019

for Labels, similar to our config for neo4j-streams

something like:

Person.friends: Person{name!}
Person.books: Book{title!, tagline, author}
Book.author: Person(name)
or
Person.books[].author: Person(name)

@jexp
Copy link
Member Author

jexp commented Aug 2, 2019

Also allow value objects to be specified.

Person{@address}

@jexp
Copy link
Member Author

jexp commented Aug 2, 2019

Perhaps we could even have somerthing that analyses a document and spits out a config that the user can edit.

@jexp
Copy link
Member Author

jexp commented Aug 2, 2019

with heuristics, to eg.. use unique fields as ids etc.

or if not there then use sth like ssn/email/isbn ...

@jexp
Copy link
Member Author

jexp commented Aug 2, 2019

one end goal :)

call apoc.mongodb.get(....) yield value
call apoc.graph.fromDocument(value, {config})

@jexp jexp added this to Backlog in Larus Development Aug 2, 2019
@jexp jexp moved this from Backlog to In Progress in Larus Development Sep 6, 2019
Larus Development automation moved this from In Progress to Done Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants