In case of LINKLIST the order is maintened, the LINKSET not maintain the order.

by the way in a LINKLIST  you can add only LINKS

On 03/06/15 14:58, hartmut bischoff wrote:
Hi altogether,

I just discovered that its very easy to populate a linkset just by assigning an array of Record (or Vertex)-Links to it.

Unfortunatly I don't know enough java -

In ruby, hashes and arrays are robust ie:

a=  Array.new
a << 9
a << 3
a << 'z'

gives always [9,3,'z'], thus an explizit index can be avoided if no array-transformation is performed.

If I store a list of RID's to the Database, and later retrieve the hole document, is the sequence of array-elements always maintained

or do I have to use a separate Index-field?




--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--

--- You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to