Here is what I would like to be able to do and I have not quite figured out 
yet how.

Create an SQL script per class, that performs class and property creation 
if they do not already exist exactly as being defined.
In addition, statements to remove or rename legacy properties, and so on if 
they do happen to still be there.
The general idea is that we would like to have some schemafull, some mixed 
mode and some schemaless classes defined and evolving as the project 
progresses.
Each SQL script should be idempotent, as in regardless of what the class 
state may have been before executing it, at the end of the script run, the 
class schema state would always be in the target state.

I was hoping to achieve this using the batch SQL, but... it would seem 
performing schema altering commands is not supported there.
I think this could be implemented in Java, but, our project does not use 
Java.
Was wondering if perhaps I was missing something, or maybe others had ideas 
how to achieve the same.

Many thanks in advance.

Norris

-- 

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