orientechnologies / pyorient

OrientDB driver for Python that uses the binary protocol.
Apache License 2.0
119 stars 38 forks source link

Change vertex class #22

Closed decebal closed 7 years ago

decebal commented 7 years ago

Is there any way that a vertex 's class can be changed / renamed ?

Ostico commented 7 years ago

Hi @decebal ,

refer to this: https://orientdb.com/docs/2.1/SQL-Alter-Class.html

decebal commented 7 years ago

Thanks Ostico, also looked at move, I was hoping to find an ogm abstraction of that. As a workaround I am executing a move command in my code (Moving the node from one class to another)