Skip to content

Best way to upload relationships #92

Answered by nikitawootten
SomniVertix asked this question in Q&A
Discussion options

You must be logged in to vote

You could structure your query either way. Realistically, depending on your query, and how the database is indexed, one query could be faster then the other, but it would not effect how GoGM decodes the data.

My advice, is to structure your query to support the code that consumes it, if the primary object is the list of Service objects connected to a Repository, I'd structure your query accordingly.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SomniVertix
Comment options

@nikitawootten
Comment options

@SomniVertix
Comment options

Answer selected by nikitawootten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants