Luca, hi
Is it possible to search in index via such properties,
like OType.EMBEDDEDLIST contains [admin, administrator, superuser] can I
search record only by name = admin?
Regards,
Valentin
вторник, 6 мая 2014 г., 23:45:22 UTC+4 пользователь Lvc@ написал:
>
> 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] <javascript:>>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] <javascript:>.
>> 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.