Skip to content

Best Practices to use property as external entity #261

Answered by wpaven
radaniba asked this question in Q&A
Discussion options

You must be logged in to vote

So, relationships in MarkLogic for entities today are more like relational type relationships. Behind the scenes, a tabular view for each entity is created by default.
Let's say you create a Customer entity. Behind the scenes a Customer.entitity.json entity descriptor is created. A TDE for each entity is auto-generated by the hub based on this and if you go to query console after harmonization (assuming user has TDE-view, TDE-admin role) you can query the Customer "table".
When you use properties to define the relationship inside the entity descriptor, this is more like a relationship between the "tables". It's not a named relationship, as you're seeing in the graph view in Connect.
In Co…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@radaniba
Comment options

@radaniba
Comment options

@wpaven
Comment options

@radaniba
Comment options

Answer selected by radaniba
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