Hi Riccardo, I like your idea. WDYT about creating a new issue with the proposal for the new commands?
Best Regards, Luca Garulli Founder & CEO OrientDB <http://orientdb.com/> On 25 August 2015 at 17:18, Riccardo Tasso <[email protected]> wrote: > Hi, > I decided to try the strict schema in graph mode. > > First of all I have not clear if there is some performance benefit using a > schema-full database or it is just a matter of modelling. > > Then, assuming I am working in lightweight edge mode, I would like to know > if there is a command of this kind: > CREATE EDGE TYPE myLabel FROM SourceClasss TO DestinationClass > CARDINALITY_CONSTRAINT > Which will be automatically translated in something like: > CREATE PROPERTY SourceClass.out_myLabel LINK|LINKLIST|LINKSET > CREATE PROPERTY DestinationClass.in_myLabel LINK|LINKLIST|LINKSET > > I think this command is important since who's working with lightweight > edges should never know about out_* and in_* properties. There is alsoa > practical interest on this, since I think it's simpler and less error prone. > > What do you think about it? > > Cheers, > Riccardo > > -- > > --- > 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. > -- --- 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.
