Yes of course :-)
A vertex still a standard document and you can treat it the same way. 
Just don't delete a vertex using the "classic" delete call but uses "delete 
vertex" to preserve edges integrity.
So, if you have to add a filed just update the document (vertex) setting it 
and it will be added (if you don't defined the class to work in strict mode 
of course, otherwise you have to change schema before).

On Friday, December 20, 2013 10:57:04 PM UTC+1, Nice Guy wrote:
>
> Hi,
>
> Is there a way to update a vertex to add a new field after it is created?
>
> Right now, I am doing.
> ODocument myVertex;
> myVertex = database.createVertex("TestVertex");
> myVertex.field("firstLable", someText);
>
> Is it possible to add new *Fields * to "TestVertex" after it is created?
>
> Thanks
>

-- 

--- 
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/groups/opt_out.

Reply via email to