Hi, in orient the vertex identifier is always the RID so there won't be any
problem if you give the same name to your vertices.

Anyway I would consider it a bad practice which will complicate your life
in your (gremlin) queries or may lead to errors in the future.

Cheers,
Riccardo
Il 17/ago/2015 17:34, "Adam Hunt" <[email protected]> ha scritto:

> Let's say that I'm creating an employee database where each employee is
> represented as a vertex. When I create my database I have a choice, use the
> employee's name as the name for the vertex, or use their associated
> employee identification number. A person's name is not guaranteed to be
> unique, it's entirely possible to have two unrelated employees name "John
> Coincidence Doe", while as the company administers identification numbers
> they can be guaranteed to be monotonically unique.
>
> As OrientDB is multi-model database the vertex can contain easily any
> additional information such as name, ID, location, birthday, ad infinitum
> in the form of a JSON document. Does it matter which string is used to name
> the vertices or is it simply a matter of personal preference?
>
> Thanks for your time,
>
> Adam Hunt
>
> --
>
> ---
> 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.
>

-- 

--- 
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