Hm... com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #0: No function with name 'exclude', available names are : [outv,ifnull,both,count,last,set,sum,bothv,date,shortestpath,distinct,distance,document,if,gremlin,map,bothe,avg,dijkstra,min,encode,coalesce,max,eval,ine,label,list,format,in,difference,decode,unionall,sysdate,intersect,inv,oute,first,out]
I have a week old OrientDB. I guess I don't have 1.7 version, but is this the only way? On Wednesday, May 28, 2014 12:25:39 PM UTC+3, Artem Orobets wrote: > > Hi Costin, > > Have you tried to use exclude() function? > > Like following: > select exclude($current, '*name*') from MyClass > > Best regards, > Artem Orobets > > * Orient Technologiesthe Company behind OrientDB* > > > 2014-05-28 11:15 GMT+03:00 costin popa <[email protected]<javascript:> > >: > >> Hello >> >> I'm trying to get document that have edges from store, and ignore the >> edge fields (out_xxx). But I get the same problem with all fields. >> >> If I have a Java class MyClass without the *name *property and I make a >> query in the DB using >> >> select from MyClass fetchplan *name*:-2 >> >> In the web UI I get a result without the *name *property (and that is >> what I need), but in my Java program I get the *name *property in the >> document wrapped by the result proxy object. >> When I make a detach(), I of course get an error when the value of the >> fetched *name *field is to be copied in a non existing property... >> >> -- >> >> --- >> 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] <javascript:>. >> 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.
