Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-31-2020 01:10 PM
Hello everyone,
I am trying to develop a neo4j demo project.
With using GitLab API's, i am trying to get Merge Request's information and I want to collect comments posted there.
ER-1 Diagram
Reduces File node count, but don't know which comment belongs to which merge request.
ER-2 Diagram
File node count increased, but we know the comments relation with merge request.
I am not sure which one is correct, both approaches have advantages and disadvantages.
Is it okay to increase node count like that ?
Or i can just add a property ( merge request info ) to contains relation between File and Comments.
Thank you for your time!
Solved! Go to Solution.
08-31-2020 02:21 PM
https://neo4j.com/developer/data-modeling/
File
part of Project
, or Merge
? Is the merge part of the project?
File
probably belongs to both, but I don't know about Merge
.Without knowing more about what you're really trying to do, why you're making this graph, I'd suggest something a little more representative of the data and history, without losing information:
http://console.neo4j.org/r/ky2msf
08-31-2020 02:21 PM
https://neo4j.com/developer/data-modeling/
File
part of Project
, or Merge
? Is the merge part of the project?
File
probably belongs to both, but I don't know about Merge
.Without knowing more about what you're really trying to do, why you're making this graph, I'd suggest something a little more representative of the data and history, without losing information:
http://console.neo4j.org/r/ky2msf
09-01-2020 10:57 PM
Thank you for your detailed answers, it helped me a lot!
All the sessions of the conference are now available online