New property,default value, new function
Hello,
-
maybe you can add new property UUID
-
set default value for all properites. for example ALTER PROPERTY User.isUser DEFAULT TRUE;
-
Function for UUID, UUID.random(), generate random value
because we want generate scripts sql where generate all start data.
Good idea but it is relatively easy to implement you can example of function here com.orientechnologies.orient.core.sql.functions.math.OSQLFunctionSum and default values can be set during fields validation here com.orientechnologies.orient.core.record.ORecordSchemaAwareAbstract#validateField. Would you like to try ?
I'm sorry but I have a lot of work and exams. It can look for that about 1 march. Thanks for the reply!
Good will wait then, I dream to have more and more new contributors in our project :)
Hi everyone. Any updates on this? It's not urgent but I'm just curious.
I'd also like this, it'd be nice for example if OUser.status was "ACTIVE" by default
Any updates on this? Also, the default value could be a function like sysdate() in a field that holds the creation date.