Is it possible to link documents with different collections in OriyDidib?
In Orientibb you can create a type of field LINK
and specify the type of link related to it, the relationship between the two documents arises.
Do I have to use Advance Storage in Arondidebi?
I am trying to define the main collection and am trying to define a secondary collection with additional information to complement the main one. I do not want to keep all the data in the main collection as it is shared among other institutions.
Thanks in advance.
-
Use of join
But one feature can define the information that identifies sub-documents (such as its
_key
) and then use the AULL to join two documents in your query:The main document for x
FILTER x for whichever <42; wifi x = y._ returns miriz (x, y) in secondary documents -
Use of edges
You can define the documents of the edge collection edge holding all the "relationships" between your documents Alternatively additional information may be on the edges.
Late n = Knights for X in the main documents ("main document", "corner corner", x._id, "any "); Return Merge (x, n [0]. Vatex);
However in foreign language, There is no such thing as a junior obstacle. You can refer to non-existent documents present in your edges or remove the main document without notifying the main document.
The advantage of the second approach is that you can use the arbitrary number of edges between these documents and even without any modification, 0, 1 or more during the runtime of your application Decide on. With the first approach, you have to decide that by creating a list of values or values,
Comments
Post a Comment