Hi,
You should call:
g.getVertexType("MyType").createProperty("name", OType.EMBEDDEDLIST,
OType.STRING);
Lvc@
Lvc@
On 6 May 2014 20:06, Marc Tigges <[email protected]> wrote:
> Hello,
>
> i need a property for a vertex containing multiple values, so i tried to
> find out
> if i can create something like that. I found this:
>
> this.graph.createProperty(vertexType, "name", OType.EMBEDDEDLIST);
>
> But in the documentation is written:
>
> this is a container and needs the parameter *linked-type* or
> *linked-class*
>
> But i need to store Strings inside the list.
>
> How can i create a property of a type like collection containing strings?
>
> --
>
> ---
> 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.