Replies: 2 comments
-
@simnh hmmm this is not really supported in Data Package specs at present. The normal way would be the m2m table. What's the objection to having the m2m table? (Having an array of keys seems a bit hacky though i can imagine it making sense with e.g. a tags field or similar ...). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is a good one for wontfix / add to FAQs. I've added the FAQs label and ready for PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I wondered if there is a way to represent a many to many (many to 1, 1 to many) relation within a data package using foreign-keys. I do not what to add another table representing this relation as it would be done in a relation database)
I have a
datapackage.json
example like the one below, where I would like to have a array of strings in one field and reference to another file the this foreign-key array.Beta Was this translation helpful? Give feedback.
All reactions